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.
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.
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 |
---|---|
For more information or to comment on this page, please send us a message.
This page last updated 15 August 2025.