[{"data":1,"prerenderedAt":288},["ShallowReactive",2],{"navigation_docs":3,"-algorithms-xxhash":148,"-algorithms-xxhash-surround":283},[4,40],{"title":5,"path":6,"stem":7,"children":8,"icon":39},"Guide","\u002Fguide","1.guide\u002F01.index",[9,11,15,19,23,27,31,35],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"Hashing","\u002Fguide\u002Fhashing","1.guide\u002F02.hashing",{"title":16,"path":17,"stem":18},"HMAC and verify","\u002Fguide\u002Fverify","1.guide\u002F03.verify",{"title":20,"path":21,"stem":22},"Salted KDFs","\u002Fguide\u002Fkdf","1.guide\u002F04.kdf",{"title":24,"path":25,"stem":26},"CLI","\u002Fguide\u002Fcli","1.guide\u002F05.cli",{"title":28,"path":29,"stem":30},"Agents","\u002Fguide\u002Fagents","1.guide\u002F06.agents",{"title":32,"path":33,"stem":34},"Custom algorithms","\u002Fguide\u002Fcustom","1.guide\u002F07.custom",{"title":36,"path":37,"stem":38},"Playground","\u002Fguide\u002Fplayground","1.guide\u002F08.playground","i-lucide-book-open",{"title":41,"path":42,"stem":43,"children":44,"icon":147},"Algorithms","\u002Falgorithms","2.algorithms\u002F00.index",[45,47,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143],{"title":46,"path":42,"stem":43},"Every algorithm",{"title":48,"path":49,"stem":50},"SHA-256","\u002Falgorithms\u002Fsha256","2.algorithms\u002F01.sha256",{"title":52,"path":53,"stem":54},"SHA-384","\u002Falgorithms\u002Fsha384","2.algorithms\u002F02.sha384",{"title":56,"path":57,"stem":58},"SHA-512","\u002Falgorithms\u002Fsha512","2.algorithms\u002F03.sha512",{"title":60,"path":61,"stem":62},"SHA-512Half","\u002Falgorithms\u002Fsha512-half","2.algorithms\u002F04.sha512-half",{"title":64,"path":65,"stem":66},"SHA3-256","\u002Falgorithms\u002Fsha3-256","2.algorithms\u002F05.sha3-256",{"title":68,"path":69,"stem":70},"SHA3-512","\u002Falgorithms\u002Fsha3-512","2.algorithms\u002F06.sha3-512",{"title":72,"path":73,"stem":74},"Keccak-256","\u002Falgorithms\u002Fkeccak256","2.algorithms\u002F07.keccak256",{"title":76,"path":77,"stem":78},"BLAKE2b","\u002Falgorithms\u002Fblake2b","2.algorithms\u002F08.blake2b",{"title":80,"path":81,"stem":82},"BLAKE2b-256","\u002Falgorithms\u002Fblake2b-256","2.algorithms\u002F09.blake2b-256",{"title":84,"path":85,"stem":86},"BLAKE2b-224","\u002Falgorithms\u002Fblake2b-224","2.algorithms\u002F10.blake2b-224",{"title":88,"path":89,"stem":90},"BLAKE2s","\u002Falgorithms\u002Fblake2s","2.algorithms\u002F11.blake2s",{"title":92,"path":93,"stem":94},"BLAKE3","\u002Falgorithms\u002Fblake3","2.algorithms\u002F12.blake3",{"title":96,"path":97,"stem":98},"BLAKE-256","\u002Falgorithms\u002Fblake256","2.algorithms\u002F13.blake256",{"title":100,"path":101,"stem":102},"RIPEMD-160","\u002Falgorithms\u002Fripemd160","2.algorithms\u002F14.ripemd160",{"title":104,"path":105,"stem":106},"HASH160","\u002Falgorithms\u002Fhash160","2.algorithms\u002F15.hash160",{"title":108,"path":109,"stem":110},"HASH256","\u002Falgorithms\u002Fhash256","2.algorithms\u002F16.hash256",{"title":112,"path":113,"stem":114},"MD5","\u002Falgorithms\u002Fmd5","2.algorithms\u002F17.md5",{"title":116,"path":117,"stem":118},"SHA-1","\u002Falgorithms\u002Fsha1","2.algorithms\u002F18.sha1",{"title":120,"path":121,"stem":122},"SHA-0","\u002Falgorithms\u002Fsha0","2.algorithms\u002F19.sha0",{"title":124,"path":125,"stem":126},"CRC-32","\u002Falgorithms\u002Fcrc32","2.algorithms\u002F20.crc32",{"title":128,"path":129,"stem":130},"CRC-16\u002FXMODEM","\u002Falgorithms\u002Fcrc16-xmodem","2.algorithms\u002F21.crc16-xmodem",{"title":132,"path":133,"stem":134},"xxHash (XXH64)","\u002Falgorithms\u002Fxxhash","2.algorithms\u002F22.xxhash",{"title":136,"path":137,"stem":138},"FNV-1a (64-bit)","\u002Falgorithms\u002Ffnv1a","2.algorithms\u002F23.fnv1a",{"title":140,"path":141,"stem":142},"scrypt","\u002Falgorithms\u002Fscrypt","2.algorithms\u002F24.scrypt",{"title":144,"path":145,"stem":146},"PBKDF2","\u002Falgorithms\u002Fpbkdf2","2.algorithms\u002F25.pbkdf2","i-lucide-library",{"id":149,"title":132,"body":150,"description":276,"extension":277,"links":278,"meta":279,"navigation":280,"path":133,"seo":281,"stem":134,"__hash__":282},"docs\u002F2.algorithms\u002F22.xxhash.md",{"type":151,"value":152,"toc":274},"minimark",[153,157,161,252,270],[154,155],"algorithm-facts",{"name":156},"xxhash",[158,159,160],"p",{},"XXH64, the 64-bit xxHash. Built for speed and good distribution in hash tables, bloom filters and dedup. Anyone can find collisions on purpose.",[162,163,168],"pre",{"className":164,"code":165,"language":166,"meta":167,"style":167},"language-ts shiki shiki-themes hashes hashes hashes","create(\"xxhash\").hash(\"\").digest; \u002F\u002F \"ef46db3751d8e999\"\ncreate(\"xxhash\").hash(\"abc\").digest; \u002F\u002F \"44bc2cf5ad770999\"\ncreate(\"xxhash\").hash(\"abc\", { seed: 1 }).digest; \u002F\u002F \"bea9ca8199328908\"\n","ts","",[169,170,171,206,229],"code",{"__ignoreMap":167},[172,173,176,180,184,188,191,194,196,199,202],"span",{"class":174,"line":175},"line",1,[172,177,179],{"class":178},"sK71F","create",[172,181,183],{"class":182},"s38Sx","(",[172,185,187],{"class":186},"shU9J","\"xxhash\"",[172,189,190],{"class":182},").",[172,192,193],{"class":178},"hash",[172,195,183],{"class":182},[172,197,198],{"class":186},"\"\"",[172,200,201],{"class":182},").digest; ",[172,203,205],{"class":204},"scIB-","\u002F\u002F \"ef46db3751d8e999\"\n",[172,207,209,211,213,215,217,219,221,224,226],{"class":174,"line":208},2,[172,210,179],{"class":178},[172,212,183],{"class":182},[172,214,187],{"class":186},[172,216,190],{"class":182},[172,218,193],{"class":178},[172,220,183],{"class":182},[172,222,223],{"class":186},"\"abc\"",[172,225,201],{"class":182},[172,227,228],{"class":204},"\u002F\u002F \"44bc2cf5ad770999\"\n",[172,230,232,234,236,238,240,242,244,246,249],{"class":174,"line":231},3,[172,233,179],{"class":178},[172,235,183],{"class":182},[172,237,187],{"class":186},[172,239,190],{"class":182},[172,241,193],{"class":178},[172,243,183],{"class":182},[172,245,223],{"class":186},[172,247,248],{"class":182},", { seed: 1 }).digest; ",[172,250,251],{"class":204},"\u002F\u002F \"bea9ca8199328908\"\n",[158,253,254,255,258,259,262,263,266,267,269],{},"The seed is an unsigned 64-bit integer. Past ",[169,256,257],{},"Number.MAX_SAFE_INTEGER",", pass it as a ",[169,260,261],{},"bigint"," or a decimal string, so ",[169,264,265],{},"\"18446744073709551615\""," works and nothing gets rounded. Checked against the reference ",[169,268,156],{}," on hundreds of inputs, after an earlier version of this package got it quietly wrong. That's the regression test's reason to exist.",[271,272,273],"style",{},"html pre.shiki code .sK71F, html code.shiki .sK71F{--shiki-light:var(--shiki-token-function);--shiki-default:var(--shiki-token-function);--shiki-dark:var(--shiki-token-function)}html pre.shiki code .s38Sx, html code.shiki .s38Sx{--shiki-light:var(--ui-text-highlighted);--shiki-default:var(--ui-text-highlighted);--shiki-dark:var(--ui-text-highlighted)}html pre.shiki code .shU9J, html code.shiki .shU9J{--shiki-light:var(--shiki-token-string);--shiki-default:var(--shiki-token-string);--shiki-dark:var(--shiki-token-string)}html pre.shiki code .scIB-, html code.shiki .scIB-{--shiki-light:var(--shiki-token-comment);--shiki-default:var(--shiki-token-comment);--shiki-dark:var(--shiki-token-comment)}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":167,"searchDepth":208,"depth":208,"links":275},[],"XXH64 with an optional 64-bit seed. For hash tables and bloom filters and dedup and nothing secret","md",null,{},true,{"title":132,"description":276},"6DoLYIrs8HKJuFvBff_6N067z49eNWmc0tveZSYDn1s",[284,286],{"title":128,"path":129,"stem":130,"description":285,"children":-1},"Polynomial 0x1021 with init 0. The two bytes closing Stellar StrKeys and TON addresses",{"title":136,"path":137,"stem":138,"description":287,"children":-1},"FNV-1a in 64 bits. XOR a byte and multiply by a prime and repeat. For tables and fingerprints",1790683657502]