hash static method
Hashes bytes with one of the existing package algorithms.
Implementation
static CryptoStep<Uint8List, Uint8List> hash(HashAlgorithm algorithm) =>
_OperationStep(
'hash.${algorithm.name}',
(input) => CryptoHash.hash(algorithm, input),
_HashDescriptor(algorithm),
);