blake2b(9)
π blake2b(9) β it's giving Kernel API Manual β¨
okay so bestie, welcome to the glow-up of blake2b(9) β the one-shot BLAKE2b hash moment. It lives under the Kernel API Manual, and honestly? Iconic. Let's get into it π«Ά
πΈ NAME πΈ
blake2b β compute a BLAKE2b hash in one shot. One shot, one vibe, no multi-step drama π
β¨ SYNOPSIS β¨
void blake2b (const u8 *key , size_t keylen , const u8 *in , size_t
inlen , u8 *out , size_t outlen );
That's the whole signature, no cap. Six args, one hash, zero excuses π
π ARGUMENTS π
keyβ the key, orNULLif you're doing an unkeyed hash. Like, no key, no problem β¨keylenβ the key length in bytes (at mostBLAKE2B_KEY_SIZE), or0for an unkeyed hash. Zero means "we're going keyless tonight" πinβ the message data. The actual tea being hashed πinlenβ the data length in bytes. Gotta know how much tea βoutβ (output) the resulting BLAKE2b hash, with lengthoutlen. This is where the magic lands, main character energy πoutlenβ length of the output hash value in bytes, at mostBLAKE2B_HASH_SIZE. Respect the cap bestie, it's literally the max π
π¦ CONTEXT π¦
Any context. Literally any. Go off, you're so valid here π
π₯ SEE ALSO π₯
Kernel file ./include/crypto/blake2b.h and the whole friend group:
- struct
blake2b_ctx(9) blake2b_init(9)blake2b_init_key(9)blake2b_update(9)blake2b_final(9)
the incremental girls are all linked above, iykyk πΈ
ngl if you're into the streaming/blended vibe instead of one-shot, blake2b_init family is right there in the SEE ALSO. periodt π
mwah π this slay of a page comes to you from ./include/crypto, dated October 2026 β take care of her, she's iconic πβ¨
π¦ 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