C# 클래스 Demo.Library.Algorithms.Cardinality.Hash.Fnv1A

Helper class to computes the 64-bit FNV-1a hash of byte arrays, GetHashCode
상속: IHashFunction
파일 보기 프로젝트 열기: volak/DDD.Enterprise.Example

공개 메소드들

메소드 설명
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

메소드 상세

GetHashCode() 공개 메소드

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
리턴 ulong