This library contains naive implementations of the Secure Hash Standard for SHA-256 and SHA-512. It should work reasonably slowly, and be reasonably correct. It's not supposed to be fast or efficient. It's supposed to be edifying for the person writing it :)