Function tvix_eval::builtins::hash::hash_nix_string
source · pub fn hash_nix_string(
algo: impl AsRef<[u8]>,
s: impl Read,
) -> Result<String, ErrorKind>
Expand description
For a given algo “string” and reader for data, calculate the digest and return it as a hexlower encoded String.