mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
11 lines
224 B
Plaintext
11 lines
224 B
Plaintext
import core.unstable.blake2s.Blake2s;
|
|
|
|
function main() {
|
|
const seed: [u8; 32] = [0; 32];
|
|
const message: [u8; 32] = [0; 32];
|
|
|
|
const result = Blake2s::hash(seed, message);
|
|
|
|
console.log("Result: {}", result);
|
|
}
|