C# (CSharp) openHistorian.PerformanceTests GuidSHA1Helper - 2 examples found. These are the top rated real world C# (CSharp) examples of openHistorian.PerformanceTests.GuidSHA1Helper extracted from open source projects. You can rate examples to help us improve the quality of examples.
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.