Package: openssl 2.2.2

Jeroen Ooms

openssl: Toolkit for Encryption, Signatures and Certificates Based on OpenSSL

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.

Authors:Jeroen Ooms [aut, cre], Oliver Keyes [ctb]

openssl_2.2.2.tar.gz
openssl_2.2.2.tar.gz(r-4.5-noble)openssl_2.2.2.tar.gz(r-4.4-noble)
openssl_2.2.2.tgz(r-4.4-emscripten)openssl_2.2.2.tgz(r-4.3-emscripten)
openssl.pdf |openssl.html
openssl/json (API)
NEWS

# Install 'openssl' in R:
install.packages('openssl', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jeroen/openssl/issues

Uses libs:
  • openssl– Secure Sockets Layer toolkit

12.92 score 4.8k packages 572 scripts 898k downloads 7 mentions 78 exports 2 dependencies

Last updated 2 months agofrom:0d145fa96c. Checks:OK: 1 WARNING: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-linux-x86_64WARNINGOct 31 2024

Exports:aes_cbc_decryptaes_cbc_encryptaes_ctr_decryptaes_ctr_encryptaes_gcm_decryptaes_gcm_encryptaes_keygenaskpassbase64_decodebase64_encodebcrypt_pbkdfbignumbignum_mod_expbignum_mod_invblake2bblake2sca_bundlecert_verifydecrypt_envelopedownload_ssl_certdsa_keygenec_dhec_keygenecdsa_parseecdsa_writeed25519_keygened25519_signed25519_verifyencrypt_envelopefingerprintfips_modekeccakmd4md5multihashmy_keymy_pubkeyopenssl_configpkcs7_decryptpkcs7_encryptrand_bytesrand_numread_certread_cert_bundleread_ed25519_keyread_ed25519_pubkeyread_keyread_p12read_p7bread_pemread_pubkeyread_x25519_keyread_x25519_pubkeyripemd160rsa_decryptrsa_encryptrsa_keygensha1sha2sha224sha256sha3sha384sha512signature_createsignature_verifyssl_ctx_add_cert_to_storessl_ctx_curl_version_matchssl_ctx_set_verify_callbackwrite_derwrite_openssh_pemwrite_p12write_p7bwrite_pemwrite_pkcs1write_sshx25519_diffie_hellmanx25519_keygen

Dependencies:askpasssys

Cryptographic Hashing in R

Rendered fromcrypto_hashing.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2024-08-16
Started: 2015-01-07

Fun with bignum: how RSA encryption works

Rendered frombignum.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2020-06-27
Started: 2015-12-15

Generating Secure Random Numbers in R

Rendered fromsecure_rng.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2024-08-16
Started: 2015-01-07

Importing and exporting RSA/DSA/EC keys

Rendered fromkeys.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2016-10-28
Started: 2016-05-25

Readme and manuals

Help Manual

Help pageTopics
Symmetric AES encryptionaes_cbc aes_cbc_decrypt aes_cbc_encrypt aes_ctr_decrypt aes_ctr_encrypt aes_gcm_decrypt aes_gcm_encrypt aes_keygen
Encode and decode base64base64_decode base64_encode
Bcrypt PWKDFbcrypt_pbkdf
Big number arithmeticbignum bignum_mod_exp bignum_mod_inv
X509 certificatesca_bundle certificates cert_verify download_ssl_cert
Curve25519curve25519 ed25519_sign ed25519_verify read_ed25519_key read_ed25519_pubkey read_x25519_key read_x25519_pubkey x25519_diffie_hellman
Diffie-Hellman Key Agreementec_dh
Envelope encryptiondecrypt_envelope encrypt_envelope envelope
OpenSSH fingerprintfingerprint
Vectorized hash/hmac functionsblake2b blake2s hash hashing hmac keccak mac md4 md5 multihash ripemd160 sha1 sha2 sha224 sha256 sha3 sha384 sha512
Generate Key pairdsa_keygen ec_keygen ed25519_keygen keygen rsa_keygen x25519_keygen
Default keymy_key my_pubkey
Toolkit for Encryption, Signatures and Certificates based on OpenSSLopenssl-package openssl
OpenSSL Configuration Infofips_mode openssl_config
Encrypt/decrypt pkcs7 messagespkcs7_decrypt pkcs7_encrypt
Generate random bytes and numbers with OpenSSLrand_bytes rand_num
Parsing keys and certificatesread_cert read_cert_bundle read_key read_pem read_pubkey
Low-level RSA encryptionencrypt rsa rsa_decrypt rsa_encrypt
Signaturesecdsa_parse ecdsa_write signatures signature_create signature_verify
Hooks to manipulate the SSL context for curl requestsssl_ctx ssl_ctx_add_cert_to_store ssl_ctx_curl_version_match ssl_ctx_set_verify_callback
PKCS7 / PKCS12 bundlespfx pkcs12 read_p12 read_p7b write_p12 write_p7b
Export key or certificatewrite_der write_openssh_pem write_pem write_pkcs1 write_ssh