bitcoin-sha512 0.1.19

SHA-256 and SHA-512 are novel hash functions computed with eight 32-bit and 64-bit words, respectively. They use different shift amounts and additive constants, but their structures are otherwise virtually identical, differing only in the number of rounds. (from wikipedia)
1
2
3
4
5
6
7
8
// ---------------- [ File: bitcoin-sha512/src/lib.rs ]
#[macro_use] mod imports; use imports::*;

x!{sha512}
x!{sha512_math}
x!{sha512_round}
x!{sha512_transform}
x!{sha512_beio}