ref: 0f95e4517ef3aa5d719b0ba8a20e8c64e96b0c46
dir: /libcryptohash/test/sha256-test.myr/
use std
use cryptohash
use "printhash.use"
const main = {
print(cryptohash.sha256("")[:])
print(cryptohash.sha256("h")[:])
/* 64 byte block */
print(cryptohash.sha256("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")[:])
/* tail spanning */
print(cryptohash.sha256("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbb")[:])
}