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