ref: ca5cfce97b1a41ab70a983117e9ecf8fc605c5d2
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")[:]) }