mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-25 23:27:57 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { stringToU8a, u8aConcat } from '@pezkuwi/util';
|
||||
import { blake2AsU8a } from '../blake2/asU8a.js';
|
||||
const SS58_PREFIX = stringToU8a('SS58PRE');
|
||||
export function sshash(key) {
|
||||
return blake2AsU8a(u8aConcat(SS58_PREFIX, key), 512);
|
||||
}
|
||||
Reference in New Issue
Block a user