sha512(9)
π NAME π
okay so bestie, this is sha512(9) from the Kernel API Manual, and it's literally the one-shot SHA-512 girlie:
sha512 β compute a SHA-512 message digest in one shot. periodt.
β¨ SYNOPSIS β¨
void sha512 (const u8 *data , size_t len , u8 out[static
SHA512_DIGEST_SIZE] );
π ARGUMENTS π
dataβ the message data. like, the actual bytes you're feeding her.lenβ the data length in bytes. yes, in bytes, bestie.outβ (output) the resulting SHA-512 message digest. she writes the digest here, slay.
π¦ CONTEXT π¦
Any context. literally any context β no special vibe check required, go off.
π SEE ALSO π
the kernel file ./include/crypto/sha2.h and the whole friend group:
- SHA-224 squad:
struct sha224_ctx(9),sha224_init(9),sha224_update(9),sha224_final(9),sha224(9) - HMAC-SHA-224 squad:
struct hmac_sha224_key(9),struct hmac_sha224_ctx(9),hmac_sha224_preparekey(9),hmac_sha224_init(9),hmac_sha224_init_usingrawkey(9),hmac_sha224_update(9),hmac_sha224_final(9),hmac_sha224(9),hmac_sha224_usingrawkey(9) - SHA-256 squad:
struct sha256_ctx(9),sha256_init(9),sha256_update(9),sha256_final(9),sha256(9),sha256_finup_2x(9),sha256_finup_2x_is_optimized(9) - HMAC-SHA-256 squad:
struct hmac_sha256_key(9),struct hmac_sha256_ctx(9),hmac_sha256_preparekey(9),hmac_sha256_init(9),hmac_sha256_init_usingrawkey(9),hmac_sha256_update(9),hmac_sha256_final(9),hmac_sha256(9),hmac_sha256_usingrawkey(9) - SHA-384 squad:
struct sha384_ctx(9),sha384_init(9),sha384_update(9),sha384_final(9),sha384(9) - HMAC-SHA-384 squad:
struct hmac_sha384_key(9),struct hmac_sha384_ctx(9),hmac_sha384_preparekey(9),hmac_sha384_init(9),hmac_sha384_init_usingrawkey(9),hmac_sha384_update(9),hmac_sha384_final(9),hmac_sha384(9),hmac_sha384_usingrawkey(9) - SHA-512 squad:
struct sha512_ctx(9),sha512_init(9),sha512_update(9),sha512_final(9) - HMAC-SHA-512 squad:
struct hmac_sha512_key(9),struct hmac_sha512_ctx(9),hmac_sha512_preparekey(9),hmac_sha512_init(9),hmac_sha512_init_usingrawkey(9),hmac_sha512_update(9),hmac_sha512_final(9),hmac_sha512(9),hmac_sha512_usingrawkey(9)
one last cute lil sign-off: source/version is ./include/crypto, date is October 2026, and the page is sha512(9). mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms