diff options
| author | Dax Raad <[email protected]> | 2026-03-05 22:12:10 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-03-05 22:12:10 -0500 |
| commit | 6733a5a822f9927081f8bccfc41de3842b29858d (patch) | |
| tree | a0b755951457310a30822afd144b1c59e1e90da3 | |
| parent | 7e280983654f7943086263b2fe352c05d24fdb4e (diff) | |
| download | opencode-6733a5a822f9927081f8bccfc41de3842b29858d.tar.gz opencode-6733a5a822f9927081f8bccfc41de3842b29858d.zip | |
fix: use sha1 for hash instead of unsupported xxhash3-xxh64
| -rw-r--r-- | packages/opencode/src/util/hash.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/util/hash.ts b/packages/opencode/src/util/hash.ts index 648148f93..680e0f40b 100644 --- a/packages/opencode/src/util/hash.ts +++ b/packages/opencode/src/util/hash.ts @@ -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") } } |
