pub fn string(data: &str, algorithm: &str) -> Result<String>
Returns a safe, deterministic hex-encoded hash of data.
data