Hash Calculator

Each of these hash, checksum and CRC algorithms are implemented (based on published standards and reference implementations) as part of the Cogs library. Most are implemented using C++ templates and template meta-programming to provide a family of algorithms and/or variable bit sizes, and calculate constant tables, at compile time.

Wikipedia: SHA-1

Wikipedia: SHA-2