Trait method lrs::hash::Hasher::hash_bytes

Hashes a sequence of bytes.

Syntax

fn hash_bytes<S>(val: &[u8], seed: S) -> <Self as Hasher>::Digest
   where S: Into<<Self as Hasher>::Seed>,

Arguments

NameDescription
val

The bytes to hash.

seed

The seed of the operation.