Update gui/src/hooks/crypto.ts

Co-authored-by: Butterscotch! <[email protected]>
This commit is contained in:
lucas lelievreandButterscotch! authored and GitHub committed 2025-12-09 04:46:35 +01:00
1 parent d1249d2b44
commit ab87c5b1e8
1 file changed
+1
+1
View File
@@ -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++) {