diff options
author | Ori Bernstein <ori@eigenstate.org> | 2016-11-24 16:28:24 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2016-11-24 16:44:21 -0800 |
commit | 6c434100fac87e19234389aba2329165827d0711 (patch) | |
tree | c76963ca6d2dd9ba8d65da1f64117945b472e978 /lib/cryptohash/test/sha1.myr | |
parent | 49f27bf2a929c681f40752da7329e377030198a3 (diff) | |
download | mc-6c434100fac87e19234389aba2329165827d0711.tar.gz |
Rename 'libcryptohash' to 'libcrypto'
The ciphers are coming. Hold on to your hats. The ciphers are
coming.
Diffstat (limited to 'lib/cryptohash/test/sha1.myr')
-rw-r--r-- | lib/cryptohash/test/sha1.myr | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/cryptohash/test/sha1.myr b/lib/cryptohash/test/sha1.myr deleted file mode 100644 index 4914a60..0000000 --- a/lib/cryptohash/test/sha1.myr +++ /dev/null @@ -1,18 +0,0 @@ -use std -use cryptohash - -use "test/util" - -const main = { - hasheq(cryptohash.sha1("")[:], \ - "da39a3ee5e6b4b0d3255bfef60951890d8af0709") - hasheq(cryptohash.sha1("h")[:], \ - "27d5482eebd075de44389774e2fc8c695cf48a75") - /* 64 byte block */ - hasheq(cryptohash.sha1("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")[:], \ - "0098ba824b5c16427bd7a1125a2a442aec25644d") - /* tail spanning */ - hasheq(cryptohash.sha1("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbb")[:], \ - "4eb17e52bb55910b037869438f69d9c87643d75a") -} - |