1
0
mirror of https://github.com/fluencelabs/libp2p-ts synced 2025-03-31 01:11:04 +00:00
2018-06-24 11:18:49 +02:00

5 lines
129 B
TypeScript

import blake from 'blakejs';
blake.blake2bHex(new Uint8Array([1, 2, 3, 4, 5]));
blake.blake2sHex(Buffer.from([1, 2, 3, 4, 5]));