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