public void TestCShakeWithN() { ExpectedString = XofOfZeroToOneHundredAndNinetyNine; ActualString = XofInstanceCShakeWithN.ComputeBytes(ZeroToOneHundredAndNinetyNineBytes) .ToString(); AssertAreEqual(ExpectedString, ActualString); }
public void TestCShakeWithNIncremental() { ExpectedString = XofOfZeroToOneHundredAndNinetyNine; XofInstanceCShakeWithN.Initialize(); XofInstanceCShakeWithN.TransformBytes(ZeroToOneHundredAndNinetyNineBytes); ActualString = XofInstanceCShakeWithN.TransformFinal().ToString(); AssertAreEqual(ExpectedString, ActualString); }