Bindings to OpenSSL libssl and libcrypto, plus custom SSH key parsers. Supports RSA, DSA and EC curves P-256, P-384, P-521, and curve25519. Cryptographic signatures can either be created and verified manually or via x509 certificates. AES can be used in cbc, ctr or gcm mode for symmetric encryption; RSA for asymmetric (public key) encryption or EC for Diffie Hellman. High-level envelope functions combine RSA and AES for encrypting arbitrary sized data. Other utilities include key generators, hash functions (md5, sha1, sha256, etc), base64 encoder, a secure random number generator, and 'bignum' math methods for manually performing crypto calculations on large multibyte integers.
| Version: | 2.3.4 | 
| Imports: | askpass | 
| Suggests: | curl, testthat (≥ 2.1.0), digest, knitr, rmarkdown, jsonlite, jose, sodium | 
| Published: | 2025-09-30 | 
| DOI: | 10.32614/CRAN.package.openssl | 
| Author: | Jeroen Ooms | 
| Maintainer: | Jeroen Ooms <jeroenooms at gmail.com> | 
| BugReports: | https://github.com/jeroen/openssl/issues | 
| License: | MIT + file LICENSE | 
| URL: | https://jeroen.r-universe.dev/openssl | 
| NeedsCompilation: | yes | 
| SystemRequirements: | OpenSSL >= 1.0.2 | 
| Materials: | NEWS | 
| CRAN checks: | openssl results | 
| Reference manual: | openssl.html , openssl.pdf | 
| Vignettes: | Fun with bignum: how RSA encryption works (source, R code) Cryptographic Hashing in R (source, R code) Importing and exporting RSA/DSA/EC keys (source, R code) Generating Secure Random Numbers in R (source, R code) | 
| Package source: | openssl_2.3.4.tar.gz | 
| Windows binaries: | r-devel: openssl_2.3.4.zip, r-release: openssl_2.3.4.zip, r-oldrel: openssl_2.3.4.zip | 
| macOS binaries: | r-release (arm64): openssl_2.3.4.tgz, r-oldrel (arm64): openssl_2.3.4.tgz, r-release (x86_64): openssl_2.3.4.tgz, r-oldrel (x86_64): openssl_2.3.4.tgz | 
| Old sources: | openssl archive | 
Please use the canonical form https://CRAN.R-project.org/package=openssl to link to this page.