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.zip(r-4.7)sodium_1.4.0.zip(r-4.6)sodium_1.4.0.zip(r-4.5)
sodium_1.4.0.tgz(r-4.6-x86_64)sodium_1.4.0.tgz(r-4.6-arm64)sodium_1.4.0.tgz(r-4.5-x86_64)sodium_1.4.0.tgz(r-4.5-arm64)
sodium_1.4.0.tar.gz(r-4.7-arm64)sodium_1.4.0.tar.gz(r-4.7-x86_64)sodium_1.4.0.tar.gz(r-4.6-arm64)sodium_1.4.0.tar.gz(r-4.6-x86_64)
sodium_1.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
sodium/json (API)

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

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

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

Uses libs:
  • libsodium– Network communication

On CRAN:

Conda:

libsodium

12.28 score 72 stars 59 packages 238 scripts 79k downloads 29 exports 0 dependencies

Last updated from:6891cd14a6. Checks:13 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK152
linux-devel-x86_64OK122
source / vignettesOK169
linux-release-arm64OK121
linux-release-x86_64OK126
macos-release-arm64OK93
macos-release-x86_64OK237
macos-oldrel-arm64OK92
macos-oldrel-x86_64OK284
windows-develOK130
windows-releaseOK91
windows-oldrelOK78
wasm-releaseOK98

Exports:argon2auth_decryptauth_encryptbin2hexchacha20data_decryptdata_encryptdata_tagdiffie_hellmanhashhex2binkeygenpassword_storepassword_verifypubkeyrandomsalsa20scryptsha256sha512shorthashsig_keygensig_pubkeysig_signsig_verifysimple_decryptsimple_encryptxchacha20xsalsa20

Dependencies:

How does cryptography work?
The XOR operator | Stream ciphers | Symmetric encryption | Public-key encryption and Diffie-Hellman

Last update: 2025-06-14
Started: 2015-10-12

Sodium: A Modern and Easy-to-Use Crypto Library
Using Sodium | Random data generator | Hash functions | Secret key encryption | Secret key authentication | Public key encryption | Public key authentication (signatures) | Public key authenticated encryption

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

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