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

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

Hash the specified file.

This is useful when verifying detached signatures.