public static int Hash(byte[] input) { using (MemoryStream stream = new MemoryStream(input)) { return(MurMurHash3.HashInternal(stream)); } }
private int MurMur3Hash(string input) { var message = Encoding.ASCII.GetBytes(input); return(MurMurHash3.Hash(message)); }