Nail down SHA-256 and SHA-512 as requirements.

We can (and possibly should?) add other hash functions later on, but
for now let's start with what we know we need to support.