You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sha512Half.js 365B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const crypto_1 = require("crypto");
  4. const sha512Half = (hex) => {
  5. return crypto_1.createHash('sha512')
  6. .update(Buffer.from(hex, 'hex'))
  7. .digest('hex')
  8. .toUpperCase()
  9. .slice(0, 64);
  10. };
  11. exports.default = sha512Half;
  12. //# sourceMappingURL=sha512Half.js.map