1
0
mirror of https://github.com/fluencelabs/libp2p-ts synced 2025-03-31 17:31:05 +00:00
libp2p-ts/blakejs/blakejs-tests.ts

5 lines
135 B
TypeScript
Raw Normal View History

2018-06-21 10:31:25 +02:00
import blake = require('blakejs');
blake.blake2bHex(new Uint8Array([1, 2, 3, 4, 5]));
blake.blake2sHex(Buffer.from([1, 2, 3, 4, 5]));