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