public void Should_ComputeIdenticalC0AndC1Values_When_TheSameKeyAndNonceArePassed() { var phe = new PheCrypto(); var skS = phe.DecodeSecretKey(this.clientPrivate); var nonce = phe.GenerateNonce(); var(c0, c1) = phe.ComputeC(skS, nonce); var(c00, c11) = phe.ComputeC(skS, nonce); Assert.Equal(Bytes.ToString(c0, StringEncoding.HEX), Bytes.ToString(c00, StringEncoding.HEX)); Assert.Equal(Bytes.ToString(c1, StringEncoding.HEX), Bytes.ToString(c11, StringEncoding.HEX)); }