An implementation of the SHA-1 cryptographic hash algorithm.
Example
use ;
// create a Sha1 object
let mut sh = default;
// write input message
sh.input;
// read hash digest in the form of GenericArray which is in this case
// equivalent to [u8; 20]
let output = sh.result;
assert_eq!;