Package: sodium 1.4.0

Jeroen Ooms

sodium: A Modern and Easy-to-Use Crypto Library

Bindings to 'libsodium' <https://doc.libsodium.org/>: a modern, easy-to-use software library for encryption, decryption, signatures, password hashing and more. Sodium uses curve25519, a state-of-the-art Diffie-Hellman function by Daniel Bernstein, which has become very popular after it was discovered that the NSA had backdoored Dual EC DRBG.

Authors:Jeroen Ooms [aut, cre]

sodium_1.4.0.tar.gz
sodium_1.4.0.tar.gz(r-4.5-noble)sodium_1.4.0.tar.gz(r-4.4-noble)
sodium_1.4.0.tgz(r-4.4-emscripten)sodium_1.4.0.tgz(r-4.3-emscripten)
sodium.pdf |sodium.html
sodium/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/r-lib/sodium/issues

Pkgdown site:https://docs.ropensci.org

Uses libs:
  • libsodium– Network communication

libsodium

8.05 score 1 stars 92 packages 171 scripts 59k downloads 29 exports 0 dependencies

Last updated 14 days agofrom:cf6d1d165b. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 16 2024
R-4.5-linux-x86_64OKDec 16 2024

Exports:argon2auth_decryptauth_encryptbin2hexchacha20data_decryptdata_encryptdata_tagdiffie_hellmanhashhex2binkeygenpassword_storepassword_verifypubkeyrandomsalsa20scryptsha256sha512shorthashsig_keygensig_pubkeysig_signsig_verifysimple_decryptsimple_encryptxchacha20xsalsa20

Dependencies:

How does cryptography work?

Rendered fromcrypto101.rmdusingknitr::rmarkdownon Dec 16 2024.

Last update: 2024-10-05
Started: 2015-10-18

Sodium: A Modern and Easy-to-Use Crypto Library

Rendered fromintro.rmdusingknitr::rmarkdownon Dec 16 2024.

Last update: 2022-06-11
Started: 2015-10-18

Readme and manuals

Help Manual

Help pageTopics
Authenticated EncryptionAuthenticated encryption auth_decrypt auth_encrypt
Diffie-Hellmandiffie Diffie-Hellman diffie_hellman
Hash Functionsargon2 hash Hash functions hashing scrypt sha256 sha512 shorthash
Keypair GenerationKey generation keygen pubkey
Password Storagepassword Password storage password_store password_verify
Create and Verify Signaturessig Signatures sig_keygen sig_pubkey sig_sign sig_verify
Anonymous Public-key Encryption (Sealed Box)Simple encryption simple_decrypt simple_encrypt
Sodium Utilitiesbin2hex helpers hex2bin random Sodium utilities
Stream Cipherschacha20 salsa20 stream Stream ciphers xchacha20 xsalsa20
Symmetric Encryption and Taggingdata_decrypt data_encrypt data_tag Symmetric encryption