fix: use sha1 for hash instead of unsupported xxhash3-xxh64
parent
7e28098365
commit
6733a5a822
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue