update createHash implementation and add tests

This commit is contained in:
Nystik
2026-05-16 15:07:26 +02:00
parent c225f73859
commit c1a169a3ed
5 changed files with 167 additions and 52 deletions

14
package-lock.json generated
View File

@@ -17,6 +17,7 @@
"ws": "^8.16.0"
},
"devDependencies": {
"@noble/hashes": "^2.2.0",
"esbuild": "^0.20.0",
"esbuild-svelte": "^0.9.4",
"lucide-svelte": "^0.577.0",
@@ -537,6 +538,19 @@
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
"node_modules/@noble/hashes": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.2.0.tgz",
"integrity": "sha512-IYqDGiTXab6FniAgnSdZwgWbomxpy9FtYvLKs7wCUs2a8RkITG+DFGO1DM9cr+E3/RgADRpFjrKVaJ1z6sjtEg==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 20.19.0"
},
"funding": {
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/@pkgjs/parseargs": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",