I want to create a service to encrypt and decrypt with any asymmetric encryption. So, basically I will have a public and a private key and I will have:
public interface ICryptoService
{
byte[] Encrypt(byte[] byteToEncrypt, int asymetricKey);
byte[] Decrypt(byte[] byteToDecrypt, int asymetricKey);
}
But, in my CorePCL project, with Profile 78 (.netFramework45+wphone8+monodroid+monotouch) I can't add a reference to System.Security.Cryptography.
How can I add a reference to any DLL or portable package to give me support for PCL 78 to use any asymmetric encryption? Any clue?
Also try PCL Crypto. It's more recent and actively maintained than PCL Contrib.