Function hash_tools::fixed_output_hash
source · pub fn fixed_output_hash<H, R>(
reader: R,
iter_num: u64
) -> Result<[u8; <H::OutputSize>::USIZE]>where
H: Digest + FixedOutput + OutputSizeUser + Write,
R: Read,
GenericArray<u8, H::OutputSize>: From<[u8; <H::OutputSize>::USIZE]> + Into<[u8; <H::OutputSize>::USIZE]>,