Skip to content

sodium

1.4.0Package record

A Modern and Easy-to-Use Crypto Library

17packages dependsuggested by 12
923.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.4.0
  • Windows: use libsodium from Rtools if available

From NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.4.0
README· In the repository, left out of the releaseVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 1.4.0Citation fileNoWebsiteYes · pkgdown
Help pages
10
Examples that run
100%10 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
10%
Help pages citing references
80%

Downloads

923.6K
CRAN downloads in the past year
Rank #585 · ~2.5K/day · ~77K/mo
Daily download trend is not available in this view yet.
27.2K30 days
107.3K90 days
923.6K1 year
Compare downloads with other packages →
Also on14.7K r2u14K conda_forge368 c2d4u

Repository

r-lib/sodium ↗Organization: r-lib
74Stars
13Forks
11Open issues
0Open PRs
5Releases
148Commits
9Commit identities
148 commits · Last activity 2026-05-02 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
90%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-19 · 702026-09-17 · 74
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/r-lib/sodium on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

CRAN release process (1)
revdep/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing sodium adds no packages beyond those that come with R.

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
17direct
28indirect
Imports 17
Suggested by 12
Show all 29 packagesHide all 29 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1 (2015)
Releases (11)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.4.0Latest
    record
    2024-12-16 · current release · diff ↗
  • 1.3.2
    record
    2024-10-04 · diff ↗ ·
    added 1 export
    xchacha20
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.1
    record
    2023-11-20 · diff ↗
  • 1.3.0
    record
    2023-09-26 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.1
    record
    2022-06-11 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.0
    record
    2021-10-21 · diff ↗ ·
    added 1 export
    argon2
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
Show 7 earlier eventsHide 7 earlier events

Package metadata

First published
2015-10-11
Total releases
11 / 11 yrs
License
MIT + file LICENSE OSI
Download size
457 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sodium")
Ooms, J. (2024). sodium: A Modern and Easy-to-Use Crypto Library (Version 1.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.sodium

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sodium version 1.4.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy