std1.0.0-beta-7 SafeC docs

Module crypto::sha512

#include <std/crypto/sha512.h> source

SHA-512 / SHA-384 Hash (FIPS 180-4) Freestanding-safe. No dynamic allocation. Sha512Ctx conforms to hash.h's Hasher and BlockHash (generic hashing, Hmac).

Structs

Sha512Ctx

Functions

sha512Convenience: hash len bytes and write the 64-byte digest.
sha384Convenience: hash len bytes and write the 48-byte digest.

Macros

SHA512_DIGEST_SIZEbytes
SHA384_DIGEST_SIZEbytes
SHA512_BLOCK_SIZEbytes