mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-25 22:17:59 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.sshash = sshash;
|
||||
const util_1 = require("@pezkuwi/util");
|
||||
const asU8a_js_1 = require("../blake2/asU8a.js");
|
||||
const SS58_PREFIX = (0, util_1.stringToU8a)('SS58PRE');
|
||||
function sshash(key) {
|
||||
return (0, asU8a_js_1.blake2AsU8a)((0, util_1.u8aConcat)(SS58_PREFIX, key), 512);
|
||||
}
|
||||
Reference in New Issue
Block a user