/// Translate a HashAlgorithm to a string.
Translate a HashAlgorithm to a string.
Translate a HashAlgorithm to a string .
pub fn hash_algorithm_to_str(&self) -> &'static str {
        match self {
            HashAlgorithm::SHA256 => "SHA256",
            HashAlgorithm::SHA512 => "SHA512",
        }
    }
pub fn hash_algorithm_to_str ( & self ) -> & ' static str { match self { HashAlgorithm :: SHA256 => " " , HashAlgorithm :: SHA512 => " " , } }
Translate a HashAlgorithm to a string.
Translate a HashAlgorithm to a string .
&self