mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-03 15:43:45 +00:00
fix: use sha1 for hash instead of unsupported xxhash3-xxh64
This commit is contained in:
@@ -2,6 +2,6 @@ import { createHash } from "crypto"
|
||||
|
||||
export namespace Hash {
|
||||
export function fast(input: string | Buffer): string {
|
||||
return createHash("xxhash3-xxh64").update(input).digest("hex")
|
||||
return createHash("sha1").update(input).digest("hex")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user