pub fn hash_file<T>(reader: T, hash: &mut GeneralHash) -> Result<u64>
where T: Read,