<div dir="ltr"><div><div>SHA-2 has a better security margin than SHA-1.<br><br></div>To protect against a collision attack which allows someone to pose as an intermediate authority. <br><br></div>That reminds me, I gave a public comment to NIST, telling them that SHA-3-224 is useless as everyone should phase away from 112-bit security, and that there should be a SHA-3-160, since for most uses 80-bit security is sufficient and is superior for terseness. They didn't listen, crudgy bureaucrats.<br></div>