{
  "_id": "6a1d40101d7bb097a0a40847",
  "Package": "sodium",
  "Type": "Package",
  "Title": "A Modern and Easy-to-Use Crypto Library",
  "Version": "1.4.0",
  "Authors@R": "person(\"Jeroen\", \"Ooms\", role = c(\"aut\", \"cre\"), email = \"jeroenooms@gmail.com\",\ncomment = c(ORCID = \"0000-0002-4035-0289\"))",
  "Description": "Bindings to 'libsodium' <https://doc.libsodium.org/>: a\nmodern, easy-to-use software library for encryption,\ndecryption, signatures, password hashing and more. Sodium uses\ncurve25519, a state-of-the-art Diffie-Hellman function by\nDaniel Bernstein, which has become very popular after it was\ndiscovered that the NSA had backdoored Dual EC DRBG.",
  "License": "MIT + file LICENSE",
  "URL": "https://docs.ropensci.org/sodium/ https://github.com/r-lib/sodium",
  "BugReports": "https://github.com/r-lib/sodium/issues",
  "SystemRequirements": "libsodium (>= 1.0.3)",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "libsodium-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2026-05-02 13:58:42 UTC",
  "RemoteUrl": "https://github.com/r-lib/sodium",
  "RemoteRef": "main",
  "RemoteSha": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-01 08:12:46 UTC",
    "User": "root"
  },
  "Author": "Jeroen Ooms [aut, cre] (ORCID: <https://orcid.org/0000-0002-4035-0289>)",
  "Maintainer": "Jeroen Ooms <jeroenooms@gmail.com>",
  "MD5sum": "3b07bdb68d7e80e6235f73636ce0ecb2",
  "_user": "ropensci",
  "_type": "src",
  "_file": "sodium_1.4.0.tar.gz",
  "_fileid": "add464a12a4841dbb0283a1503cfb5d9329c412764aa0d4374da5f08153ce333",
  "_filesize": 166555,
  "_sha256": "add464a12a4841dbb0283a1503cfb5d9329c412764aa0d4374da5f08153ce333",
  "_created": "2026-06-01T08:12:46.000Z",
  "_published": "2026-06-01T08:17:20.698Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78811927206,
      "time": 107,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7326505325"
    },
    {
      "job": 78811927304,
      "time": 111,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7326506620"
    },
    {
      "job": 78811927201,
      "time": 113,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326506884"
    },
    {
      "job": 78811927141,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326520676"
    },
    {
      "job": 78811927195,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7326507141"
    },
    {
      "job": 78811927135,
      "time": 223,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7326540833"
    },
    {
      "job": 78811927224,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326506609"
    },
    {
      "job": 78811927148,
      "time": 139,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326515244"
    },
    {
      "job": 78811313115,
      "time": 175,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326446186"
    },
    {
      "job": 78811313205,
      "time": 250,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326469477"
    },
    {
      "job": 78811927168,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326501941"
    },
    {
      "job": 78811927491,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7326501933"
    },
    {
      "job": 78811927192,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7326499211"
    },
    {
      "job": 78811927188,
      "time": 205,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326535084"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-lib/sodium",
  "_commit": {
    "id": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
    "author": "Jeroen Ooms <jeroenooms@gmail.com>",
    "committer": "Jeroen Ooms <jeroenooms@gmail.com>",
    "message": "Update CI\n",
    "time": 1777730322
  },
  "_maintainer": {
    "name": "Jeroen Ooms",
    "email": "jeroenooms@gmail.com",
    "login": "jeroen",
    "mastodon": "@jeroenooms@fosstodon.org",
    "bluesky": "@jeroenooms.bsky.social",
    "description": "Staff research engineer at @ropensci, tidyverse team member, and project lead for R-universe",
    "uuid": 216319,
    "orcid": "0000-0002-4035-0289"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "r-lib",
  "_selfowned": true,
  "_usedby": 60,
  "_updates": [
    {
      "week": "2025-24",
      "n": 3
    },
    {
      "week": "2026-18",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 72,
  "_contributors": [
    {
      "user": "jeroen",
      "count": 139,
      "uuid": 216319
    },
    {
      "user": "dirkschumacher",
      "count": 2,
      "uuid": 1569647
    },
    {
      "user": "cgiachalis",
      "count": 1,
      "uuid": 26255858
    },
    {
      "user": "dernst",
      "count": 1,
      "uuid": 281817
    },
    {
      "user": "mayeulk",
      "count": 1,
      "uuid": 768570
    },
    {
      "user": "maelle",
      "count": 1,
      "uuid": 8360597
    },
    {
      "user": "richfitz",
      "count": 1,
      "uuid": 1558093
    },
    {
      "user": "coolbutuseless",
      "count": 1,
      "uuid": 181818
    },
    {
      "user": "snoweye",
      "count": 1,
      "uuid": 2565440
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 33693,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sodium"
  },
  "_devurl": "https://github.com/r-lib/sodium",
  "_pkgdown": "https://docs.ropensci.org/sodium/",
  "_searchresults": 242,
  "_topics": [
    "libsodium"
  ],
  "_metadata": {
    "ropensci_category": "scalereprod"
  },
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sodium.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-lib/sodium",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2015-10-11"
    },
    {
      "version": "0.2",
      "date": "2015-10-18"
    },
    {
      "version": "0.4",
      "date": "2016-07-07"
    },
    {
      "version": "1.0",
      "date": "2017-03-18"
    },
    {
      "version": "1.1",
      "date": "2017-03-31"
    },
    {
      "version": "1.2.0",
      "date": "2021-10-21"
    },
    {
      "version": "1.2.1",
      "date": "2022-06-11"
    },
    {
      "version": "1.3.0",
      "date": "2023-09-26"
    },
    {
      "version": "1.3.1",
      "date": "2023-11-20"
    },
    {
      "version": "1.3.2",
      "date": "2024-10-04"
    },
    {
      "version": "1.4.0",
      "date": "2024-12-16"
    }
  ],
  "_exports": [
    "argon2",
    "auth_decrypt",
    "auth_encrypt",
    "bin2hex",
    "chacha20",
    "data_decrypt",
    "data_encrypt",
    "data_tag",
    "diffie_hellman",
    "hash",
    "hex2bin",
    "keygen",
    "password_store",
    "password_verify",
    "pubkey",
    "random",
    "salsa20",
    "scrypt",
    "sha256",
    "sha512",
    "shorthash",
    "sig_keygen",
    "sig_pubkey",
    "sig_sign",
    "sig_verify",
    "simple_decrypt",
    "simple_encrypt",
    "xchacha20",
    "xsalsa20"
  ],
  "_help": [
    {
      "page": "messaging",
      "title": "Authenticated Encryption",
      "topics": [
        "Authenticated encryption",
        "auth_decrypt",
        "auth_encrypt"
      ]
    },
    {
      "page": "diffie",
      "title": "Diffie-Hellman",
      "topics": [
        "diffie",
        "Diffie-Hellman",
        "diffie_hellman"
      ]
    },
    {
      "page": "hash",
      "title": "Hash Functions",
      "topics": [
        "argon2",
        "hash",
        "Hash functions",
        "hashing",
        "scrypt",
        "sha256",
        "sha512",
        "shorthash"
      ]
    },
    {
      "page": "keygen",
      "title": "Keypair Generation",
      "topics": [
        "Key generation",
        "keygen",
        "pubkey"
      ]
    },
    {
      "page": "password",
      "title": "Password Storage",
      "topics": [
        "password",
        "Password storage",
        "password_store",
        "password_verify"
      ]
    },
    {
      "page": "sig",
      "title": "Create and Verify Signatures",
      "topics": [
        "sig",
        "Signatures",
        "sig_keygen",
        "sig_pubkey",
        "sig_sign",
        "sig_verify"
      ]
    },
    {
      "page": "simple",
      "title": "Anonymous Public-key Encryption (Sealed Box)",
      "topics": [
        "Simple encryption",
        "simple_decrypt",
        "simple_encrypt"
      ]
    },
    {
      "page": "helpers",
      "title": "Sodium Utilities",
      "concept": [
        "sodium"
      ],
      "topics": [
        "bin2hex",
        "helpers",
        "hex2bin",
        "random",
        "Sodium utilities"
      ]
    },
    {
      "page": "stream",
      "title": "Stream Ciphers",
      "topics": [
        "chacha20",
        "salsa20",
        "stream",
        "Stream ciphers",
        "xchacha20",
        "xsalsa20"
      ]
    },
    {
      "page": "symmetric",
      "title": "Symmetric Encryption and Tagging",
      "topics": [
        "data_decrypt",
        "data_encrypt",
        "data_tag",
        "Symmetric encryption"
      ]
    }
  ],
  "_readme": "https://github.com/r-lib/sodium/raw/main/README.md",
  "_rundeps": [],
  "_sysdeps": [
    {
      "shlib": "libsodium",
      "package": "libsodium23",
      "headers": "libsodium-dev",
      "source": "libsodium",
      "version": "1.0.18-1ubuntu0.24.04.1",
      "name": "libsodium",
      "homepage": "https://www.libsodium.org/",
      "description": "Network communication, cryptography and signaturing library"
    }
  ],
  "_vignettes": [
    {
      "source": "crypto101.rmd",
      "filename": "crypto101.html",
      "title": "How does cryptography work?",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The XOR operator",
        "Stream ciphers",
        "Symmetric encryption",
        "Public-key encryption and Diffie-Hellman"
      ],
      "created": "2015-10-12 22:26:43",
      "modified": "2025-06-14 09:43:09",
      "commits": 19
    },
    {
      "source": "intro.rmd",
      "filename": "intro.html",
      "title": "Sodium: A Modern and Easy-to-Use Crypto Library",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using Sodium",
        "Random data generator",
        "Hash functions",
        "Secret key encryption",
        "Secret key authentication",
        "Public key encryption",
        "Public key authentication (signatures)",
        "Public key authenticated encryption"
      ],
      "created": "2015-10-12 14:18:21",
      "modified": "2022-06-11 07:42:25",
      "commits": 6
    }
  ],
  "_score": 12.228080032135729,
  "_indexed": true,
  "_nocasepkg": "sodium",
  "_universes": [
    "ropensci",
    "jeroen",
    "r-lib"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-01T08:14:46.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "4988274846934e6683fef5d4c30dba82b2935946ea9e54190883c9eb9b3d2d95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-01T08:14:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "614c05fa2998a2c687f94089e8f9ca134996af6d3daa16b8a5450f99d17c690b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-01T08:14:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "05bd658d3d95e2e4be5e04cf5ce0bad649e6e450a639118939b27e2e5fdcc9b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-01T08:15:34.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "67bb2aaebd839ea74762cc2024227ddd2c41ceb90b4cfa2ef145c2c83e003f8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-01T08:14:49.000Z",
      "arch": "aarch64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "5645424418ba4db49888e3c1f1d286801d78ceecb10594ba8e5467c7027777d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-01T08:16:22.000Z",
      "arch": "x86_64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "17e6aebc3aad1852d67f920f963bc853be213df29c969a7eae228898de45d6ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-01T08:14:45.000Z",
      "arch": "aarch64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "7d7ee5deed750e142fbb812cd11cb1ab868458b0aad4aa10372f0e53cd814f9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-01T08:15:09.000Z",
      "arch": "x86_64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "8b019975cb24943fa5b622a1c119e16f2009f7955e1eb601f3467c9caa65b12f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-06-01T08:14:42.000Z",
      "arch": "emscripten",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "f3e0efbdeee9a57a3a5f53de33ca112d9c9c93d42637a8a1256bd8d657e088b8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-01T08:14:18.000Z",
      "arch": "x86_64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "e7747d7b80530159b712b2f1756fc24908545daf041bb06a2acdc477e2619da9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-01T08:14:08.000Z",
      "arch": "x86_64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "05dda21e5d87b8141e56cd67bef33982b2a457615039d8da3bc462a7bec298c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-01T08:15:23.000Z",
      "arch": "x86_64",
      "commit": "6891cd14a6a2f372384aa254f52dc24ff4947a67",
      "fileid": "e23260eeeec038a82f62b39824c247180c02633753f3f392562000d22ca4368f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/26742965423"
    }
  ]
}