UNPKG

@muevoapp/js-ethereum-cryptography

Version:
6 lines (3 loc) 176 B
const Sha256Hash = require("hash.js/lib/hash/sha/256"); import { createHashFunction } from "../hash-utils"; export const sha256 = createHashFunction(() => new Sha256Hash());