Click or drag to resize

HashCode Class

[This is preliminary documentation and is subject to change.]

Provides extension methods for getting hashes
Inheritance Hierarchy
SystemObject
  MLAPI.DataHashCode

Namespace:  MLAPI.Data
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class HashCode
Request Example View Source
Methods
  NameDescription
Public methodStatic memberGetStableHash16(Byte)
non cryptographic stable hash code, it will always return the same hash for the same string. This is simply an implementation of FNV-1 32 bit xor folded to 16 bit https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
Public methodStatic memberGetStableHash16(String)
non cryptographic stable hash code, it will always return the same hash for the same string. This is simply an implementation of FNV-1 32 bit xor folded to 16 bit https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
Public methodStatic memberGetStableHash32(Byte)
non cryptographic stable hash code, it will always return the same hash for the same string. This is simply an implementation of FNV-1 32 bit https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
Public methodStatic memberGetStableHash32(String)
non cryptographic stable hash code, it will always return the same hash for the same string. This is simply an implementation of FNV-1 32 bit https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
Public methodStatic memberGetStableHash64(Byte)
non cryptographic stable hash code, it will always return the same hash for the same string. This is simply an implementation of FNV-1 64 bit https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
Public methodStatic memberGetStableHash64(String)
non cryptographic stable hash code, it will always return the same hash for the same string. This is simply an implementation of FNV-1 64 bit https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
Top
See Also