UNPKG

dpos-offline

Version:

Offline Signing Transactions for DPOS Blockchains

6 lines (5 loc) 237 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // NODE version uses crypto module var sha256 = require("sha.js/sha256.js"); exports.toSha256 = function (what) { return new sha256().update(what).digest(); };