C# (CSharp) openHistorian.PerformanceTests GuidSHA1Helper - 2 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die openHistorian.PerformanceTests.GuidSHA1Helper, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.
This class is a helper class to quickly generate a strong hash code for a GUID type.
A strong hash function is important in Dictionary Lookups. If the hash is sufficently strong, a mod operation over the largest prime can be avoided, thus allowing for faster customized dictionary lookups. Method is the same as taking the last 4 bytes of a SHA1 hashsum, except zero is reserved and converted to 1.