[][src]Function sequoia_openpgp::crypto::hash_file

pub fn hash_file<R: Read>(
    reader: R,
    algos: &[HashAlgorithm]
) -> Result<Vec<(HashAlgorithm, Box<dyn Hash>)>>

Hash the specified file.

This is useful when verifying detached signatures.