pgp::crypto::checksum
pub fn sha1(hash: &[u8], data: &[u8]) -> Result<()>
SHA1 checksum, first 20 octets.