public static byte[] HashString(string value)
 {
     var hasher = new Murmur3Hasher();
     return hasher.ComputeHash(Encoding.UTF8.GetBytes(value));
 }
Exemple #2
0
        public static byte[] HashBytes(byte[] value)
        {
            var hasher = new Murmur3Hasher();

            return(hasher.ComputeHash(value));
        }
 public static byte[] HashBytes(byte[] value)
 {
     var hasher = new Murmur3Hasher();
     return hasher.ComputeHash(value);
 }
Exemple #4
0
        public static byte[] HashString(string value)
        {
            var hasher = new Murmur3Hasher();

            return(hasher.ComputeHash(Encoding.UTF8.GetBytes(value)));
        }