UNPKG

dpos-offline

Version:

Offline Signing Transactions for DPOS Blockchains

7 lines (5 loc) 137 B
import * as crypto from 'crypto'; export const toSha256 = (what: Buffer) => crypto .createHash('sha256') .update(what) .digest();