public void Xor() { var random = new Random(42); byte[] bytesA = new byte[32]; random.NextBytes(bytesA); byte[] bytesB = new byte[32]; random.NextBytes(bytesB); Hash32 a = new Hash32(bytesA); Hash32 b = new Hash32(bytesB); var c = a.Xor(b); Assert.AreEqual("0xf1c1929d1dc3cae03774ee8a65a8b65408dcaad4585185ebd4662e36ac2354c8", c.ToString()); }