Function hash_set

Source
pub fn hash_set<S: IntoIterator, H: Hasher>(set: S, hasher: &mut H)
where S::Item: Hash,
Expand description

Hash a set of items.

The standard library does not provide (yet) a Hash implementation for set types. This can be used instead.

Note that this function not particularly strong and does not protect against DoS attacks.