leo/asg/tests/pass/core/unstable_blake2s.leo

11 lines
224 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
import core.unstable.blake2s.Blake2s;
function main() {
const seed: [u8; 32] = [0; 32];
const message: [u8; 32] = [0; 32];
2021-01-25 18:17:42 +03:00
const result = Blake2s::hash(seed, message);
2021-01-25 18:17:42 +03:00
console.log("Result: {}", result);
}