xxh64(9)
β¨ xxh64(9) β the Kernel API Manual glow-up β¨
okay so bestie, welcome to the Kernel API Manual entry for xxh64 π
this is the 64-bit hash girlie and she is literally here to calculate the 64-bit hash of your input with a given seed. no cap.
πΈ NAME πΈ
xxh64 β calculate the 64-bit hash of the input with a given seed π
π¦ SYNOPSIS π¦
uint64_t xxh64 (const void *input , size_t length , uint64_t seed );
like, that's the whole vibe. three args, one uint64_t coming back at you π
π ARGUMENTS π
inputβ the data to hash. give her the goods, bestie π«Άlengthβ the length of the data to hash. she needs to know how much of the goods to look at β¨seedβ the seed can be used to alter the result predictably. yes, predictably, it's giving controlled chaos π
π₯ DESCRIPTION π₯
so here's the tea: this function runs 2x faster on 64-bit systems, but slower on 32-bit systems. highkey important to know before you go around hashing things on your vintage 32-bit machine π it's not a vibe check fail, it's just the way that it is.
β RETURN β
the 64-bit hash of the data. that's it, that's the reward π she ate and left no crumbs.
π SEE ALSO π
- Kernel file
./include/linux/xxhash.h xxh32(9)xxhash(9)struct xxh64_state(9)xxh64_reset(9)xxh64_update(9)xxh64_digest(9)
go read the whole family, iykyk π
fr fr bestie, don't @ me if you skip the SEE ALSO section β those girls are important π
and that's the page, mwah π this iconic little manual came to you from ./include/linux, dated October 2026, and it's filed under xxh64(9) β periodt. π§π
π¦ 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