Package: sodium 1.3.1

Jeroen Ooms

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

Bindings to 'libsodium' <>: 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.pdf |sodium.html
sodium/json (API)

# Install sodium in R:
install.packages('sodium', repos = c('', ''))

Peer review:

Bug tracker:

Uses libs:
  • libsodium– Network communication


29 exports 69 stars 7.75 score 0 dependencies 165 dependents 27.0k downloads

Last updated 1 months agofrom:5bee60da7a279d932c2963b662b7975abb3d25d6 (via main)



How does cryptography work?

Rendered fromcrypto101.rmdusingknitr::rmarkdownon Jun 08 2024.

Last update: 2023-09-26
Started: 2015-10-12

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

Rendered fromintro.rmdusingknitr::rmarkdownon Jun 08 2024.

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