Function xmpp_parsers::caps::hash_caps

source ยท
pub fn hash_caps(data: &[u8], algo: Algo) -> Result<Hash, String>
Expand description

Hashes the result of compute_disco() with one of the supported hash algorithms.