pub fn create_hash(algorithm: HashAlgorithm) -> Result<Box<dyn Hash>>
Create a hash instance by HashAlgorithm enum