pub fn crypto_hash<T: Serialize>(val: &T) -> String
Calculate a base64-encoded (in URL-safe variant, i.e. no ‘/’ or ‘+’) hash value