mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-29 20:44:52 +03:00
11 lines
218 B
Plaintext
11 lines
218 B
Plaintext
|
import core.unstable.blake2s.Blake2s;
|
||
|
|
||
|
function main() {
|
||
|
let seed: [u8; 32] = [0; 32];
|
||
|
let message: [u8; 32] = [0; 32];
|
||
|
|
||
|
let result = Blake2s::hash(seed, message);
|
||
|
|
||
|
console.log("Result: {}", result);
|
||
|
}
|