public void SmallByteCount_DifferentHash() { byte _1 = 0x0001; byte _2 = 0x0002; var hash1 = _sut.Hash(new[] { _1 }); var hash2 = _sut.Hash(new[] { _2 }); hash1.ShouldNotBe(hash2); }
public static ulong FarmHash64(string data) { var bytes = Encoding.Unicode.GetBytes(data); return(FarmHashStrategy.Hash(bytes)); }