fix RSA padding options.
add modes of encryption.
fix decryption modes for RSA, partially for EC.