mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 14:55:19 +00:00
6 lines
140 B
TypeScript
6 lines
140 B
TypeScript
import { createHash } from "node:crypto"
|
|
|
|
export function hash(input: string) {
|
|
return createHash("sha256").update(input).digest("hex")
|
|
}
|