CryptoSys Home > API > SHA-256 cryptography software

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 Secure Hash Standard, (pdf-link).

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.

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

Contact us

For more information or to comment on this page, please send us a message.

This page last updated 13 June 2020.