Files
neuron/packages/opencode/src/util/hash.ts
T

8 lines
191 B
TypeScript

import { createHash } from "crypto"
export namespace Hash {
export function fast(input: string | Buffer): string {
return createHash("xxhash3-xxh64").update(input).digest("hex")
}
}