Trait method lrs::hash::Hasher::hash_u8

Hashes a u8.

Syntax

fn hash_u8<S>(val: u8, seed: S) -> <Self as Hasher>::Digest
   where S: Into<<Self as Hasher>::Seed>,

Arguments

NameDescription
val

The value to hash.

seed

The seed of the operation.