std1.0.0-beta-7 SafeC docs

Module crypto::sha256

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

SHA-256 / SHA-224 Hash Freestanding-safe. No dynamic allocation. Sha256Ctx conforms to hash.h's Hasher and BlockHash (generic hashing, Hmac).

Structs

Sha256Ctx

Functions

sha256Convenience: hash len bytes and write 32-byte digest.

Macros

SHA256_DIGEST_SIZEbytes
SHA224_DIGEST_SIZEbytes
SHA256_BLOCK_SIZEbytes