mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-06 00:32:35 -08:00
Update gui/src/hooks/crypto.ts
Co-authored-by: Butterscotch! <[email protected]>
This commit is contained in:
1 parent
d1249d2b44
commit
ab87c5b1e8
1 file changed
+1
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user