예제 #1
0
        public static ulong[] GetHashCode_x64_128(string content, Encoding encoding)
        {
            var bytes = encoding.GetBytes(content);

            return(MurmurHash3.murmurhash3_x64_128(bytes, 0, bytes.Length, 42));
        }
예제 #2
0
        public static uint GetHashCode_x86_32(string content, Encoding encoding)
        {
            var bytes = encoding.GetBytes(content);

            return(MurmurHash3.murmurhash3_x86_32(bytes, 0, bytes.Length, 42));
        }