public void Should_encrypt_RSA() { var es = new EncryptionServices(); var encryptedData = es.RSAEncrypt(DataWithHash, RSAKey); encryptedData.ShouldBeEquivalentTo(EncryptedData); }