Example #1
0
        public static long DoHash(string str)
        {
            var hash = Archive.Crc32(str);

            return((long)str.Length << 32 | hash);
        }
Example #2
0
 public Hash(string value)
 {
     Crc = Archive.Crc32(value);
     Len = (byte)value.Length;
 }