public void CrcValuePotentialOverflow() { var crc = new Crc32(); crc.ComputeHash(Encoding.UTF8.GetBytes("kera")); var hash = crc.CrcValue; Assert.AreEqual(2764303471, hash); }
public void CrcValue() { var crc = new Crc32(); crc.ComputeHash(Encoding.UTF8.GetBytes("meebey")); var hash = crc.CrcValue; Assert.AreEqual(578947871, hash); }