pub fn new_dyn(inner_hash: InnerHashAlgorithm) -> Box<dyn DynFsVerityDigest>
Expand description
Like FsVerityDigest::new
, but you can choose the hash algorithm at runtime.
pub fn new_dyn(inner_hash: InnerHashAlgorithm) -> Box<dyn DynFsVerityDigest>
Like FsVerityDigest::new
, but you can choose the hash algorithm at runtime.