1 | ;
|
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 |
\ | No newline at end of file |