Function fs_verity::new_dyn_with_salt_and_block_size
source · pub fn new_dyn_with_salt_and_block_size<S: AsRef<[u8]> + Clone + Default + 'static>(
inner_hash: InnerHashAlgorithm,
salt: S,
block_size: usize
) -> Box<dyn DynFsVerityDigest>
Expand description
Like FsVerityDigest::new_with_salt_and_block_size
, but you can choose the hash algorithm at runtime.
Please check the linked function for additional notes about specifying a salt and block size.