sha3_512(9)
π sha3_512 (9) β Kernel API Manual, bestie edition β¨
okay so this is sha3_512(9), straight out of the Kernel API Manual β we're doing a whole cryptographic glow-up today and honestly? obsessed. π«Ά
β¨ NAME β¨
sha3_512 β my girl computes a SHA3-512 digest in one shot, no cap. π―
πΈ SYNOPSIS πΈ
void sha3_512 (const u8 *in , size_t in_len , u8
out[SHA3_512_DIGEST_SIZE] );
like literally that's the whole signature. she's compact. she's iconic. π
π ARGUMENTS π
inβ the input data that's getting digested, bestie. the main character of the operation. πin_lenβ the length ofin, measured in bytes (size_t, so she's got range). πoutβ the buffer where the digest gets stored. she'su8 out[SHA3_512_DIGEST_SIZE], so you already know exactly how much room she needs. β¨
π¦ DESCRIPTION π¦
so this is a convenience function that computes a SHA3-512 digest. that's it, that's the vibe. π
use sha3_512 instead of the incremental API if you're able to provide all the input at once β like if you've got the whole thing in hand already, why be extra about it? not every moment needs to be a multi-step process, fr fr. π
π CONTEXT π
Any context. π§ like genuinely, she doesn't gatekeep β any context is fine, do your thing, slay.
π SEE ALSO π
Kernel file ./include/crypto/sha3.h, plus the whole friend group:
struct sha3_ctx(9)sha3_zeroize_ctx(9)struct shake_ctx(9)shake_zeroize_ctx(9)sha3_224_init(9)sha3_256_init(9)sha3_384_init(9)sha3_512_init(9)sha3_update(9)sha3_final(9)shake128_init(9)shake256_init(9)shake_update(9)shake_squeeze(9)sha3_224(9)sha3_256(9)sha3_384(9)shake128(9)shake256(9)
π pro tip from your girl: if you can't hand over all the input at once, don't force it β that's literally what the incremental API is for. read the room. π
β and that's the page!! sources say she lives in ./include/crypto, dated October 2026, and she answers to sha3_512(9) β okay bye bestie, go hash something gorgeous ππ₯π
π¦ 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