C# Class Demo.Library.Algorithms.Cardinality.Hash.Fnv1A

Helper class to computes the 64-bit FNV-1a hash of byte arrays, GetHashCode
Inheritance: IHashFunction
Afficher le fichier Open project: volak/DDD.Enterprise.Example

Méthodes publiques

Méthode Description
GetHashCode ( byte bytes ) : ulong

Computes the 64-bit FNV-1a hash of the given bytes, see http://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function and http://www.isthe.com/chongo/src/fnv/hash_64a.c

Method Details

GetHashCode() public méthode

Computes the 64-bit FNV-1a hash of the given bytes, see http://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function and http://www.isthe.com/chongo/src/fnv/hash_64a.c
public GetHashCode ( byte bytes ) : ulong
bytes byte Text to compute the hash for
Résultat ulong