mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-23 09:32:53 +03:00
8 lines
200 B
Plaintext
8 lines
200 B
Plaintext
|
import core.unstable.blake2s.Blake2s;
|
||
|
|
||
|
function main(seed: [u8; 32], message: [u8; 32], expected: [u8; 32]) {
|
||
|
let actual = Blake2s::hash(seed, message);
|
||
|
|
||
|
console.assert(expected == actual);
|
||
|
}
|