From ab87c5b1e8df7cb00fcd3703fd09d89379037186 Mon Sep 17 00:00:00 2001 From: lucas lelievre Date: Tue, 9 Dec 2025 04:46:35 +0100 Subject: [PATCH] Update gui/src/hooks/crypto.ts Co-authored-by: Butterscotch! --- gui/src/hooks/crypto.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/src/hooks/crypto.ts b/gui/src/hooks/crypto.ts index fabf7b079..6b857283c 100644 --- a/gui/src/hooks/crypto.ts +++ b/gui/src/hooks/crypto.ts @@ -1,3 +1,4 @@ +// implemetation of https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function export function hash(str: string) { let hash = 2166136261; for (let i = 0; i < str.length; i++) {