if let Some(c) = candidates {
// If we have a candidate hash of a particular type, use that specific algorithm
let hashes = calculate::create_digests(&[c.alg], input)?;
if let Some(c) = candidates {
// If we have a candidate hash of a particular type, use that specific algorithm
let hashes = calculate::create_digests(&[c.alg], input)?;