Function xmpp_parsers::ecaps2::hash_ecaps2
source · pub fn hash_ecaps2(data: &[u8], algo: Algo) -> Result<Hash, Error>
Expand description
Hashes the result of compute_disco() with one of the supported hash algorithms.
pub fn hash_ecaps2(data: &[u8], algo: Algo) -> Result<Hash, Error>
Hashes the result of compute_disco() with one of the supported hash algorithms.