RSA Key Generation, Signatures and Encryption using OpenSSL