mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-22 17:51:39 +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);
|
|
}
|