Hi, iam using an external library (OpenSSL.Crypto) to encrypt/decrypt files in my c# project.
I have to use RSA, but there is a lack of documentation, I tried to find an example but no way
i tried by myself to explore the library and i wrote this code:
byte[] msg = System.Text.Encoding.ASCII.GetBytes("text to encrypt");
            OpenSSL.Crypto.Envelope env = new OpenSSL.Crypto.Envelope();
            OpenSSL.Crypto.RSA rsa = new OpenSSL.Crypto.RSA();
            Console.Write("{0}", env.PrivateKeyAsPEM);
Have any one used RSA before with this library?