xmpp_parsers::caps

Function 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.