declare module "crypto" { export interface Hash { update(value: string): void digest(encoding?: "hex"): string } export function createHash(algorithm: "sha256"): Hash }