UNPKG

@muevoapp/js-ethereum-cryptography

Version:
6 lines (3 loc) 159 B
import crypto from "crypto"; import { createHashFunction } from "./hash-utils"; export const sha256 = createHashFunction(() => crypto.createHash("sha256"));