SHA-256 cryptography software

SHA-256 produces a 256-bit (32-byte) message digest hash and is meant to provide 128 bits of security against collision attacks.

SHA-256 is specified in FIPS PUB 180-3 Secure Hash Standard, October 2008, (pdf 284 kB).

The hash functions SHA-256, SHA-384, SHA-512 and SHA-224 are now collectively referred to as SHA-2 hash functions, not to be confused with the SHA2_ functions in CryptoSys API, which we released long before the the term was in general use.

The original SHA-256 functions available in CryptoSys API

VB6/C Functions.NET methods

The SHA_2Hmac function provides HMAC, a mechanism for message authentication using the SHA-256 cryptographic hash function. For more details, refer to the original specification RFC 2104 HMAC: Keyed-Hashing for Message Authentication, Krawczyk, Bellare and Canetti, February 1997, and FIPS PUB 198 The Keyed-Hash Message Authentication Code (HMAC), March 2002, (pdf 173 kB).

Newer SHA-1 and SHA-2 functions available in CryptoSys API

These generic hash functions provide SHA-1, SHA-224, SHA-256, SHA-384 and SHA-512.

VB6/C Functions.NET methods

And these generic MAC functions provide the HMAC function with all variants of SHA.

VB6/C Functions.NET methods

This page last updated 20 March 2009