pub fn csum<FRead>( algo: HashAlgorithm, file: &Path, prefix_0x: bool, read_file_or_stdin: FRead, ) -> Result<ToolResult>where FRead: Fn(&Path) -> Result<Vec<u8>>,