jeroen / openssl

OpenSSL bindings for R
Other
65 stars 23 forks source link

Use RSA_PKCS1_OAEP_PADDING by default with RSA_public_encrypt #65

Open logworthy opened 5 years ago

logworthy commented 5 years ago

From the openssl documentation, it looks like RSA_PKCS1_OAEP_PADDING is the recommended default.

jeroen commented 5 years ago

Hmm but that means we probably won't be able to exchange encrypted data with other applications that use the default RSA_PKCS1_PADDING