pub fn algorithm(self) -> Algorithm {
        match self {
            Hash::Sha256(_) => Algorithm::Sha256,
            Hash::None => Algorithm::Sha256,
        }
    }
/// Return the digest algorithm used to produce this hash
Return the digest algorithm used to produce this hash
Return the digest algorithm used to produce this hash
pub fn algorithm(self) -> Algorithm {
        match self {
            Hash::Sha256(_) => Algorithm::Sha256,
            Hash::None => Algorithm::Sha256,
        }
    }
pub fn algorithm ( self ) -> Algorithm { match self { Hash :: Sha256 ( _ ) => Algorithm :: Sha256 , Hash :: None => Algorithm :: Sha256 , } }
Return the digest algorithm used to produce this hash
Return the digest algorithm used to produce this hash
self