argon2

Secure password hashing with the Argon2 reference implementation, plus a blake2b hashing utility.

Compatibility updates by Renova.

Version 0.4.0.9001 replaces unbounded sprintf calls in the C sources (src/argon2/encoding.c, src/raw_as_char.c) with bounded snprintf calls. No R function was changed.

Install

install.packages("argon2", repos = c(
  Renova = "https://renova-r.r-universe.dev",
  CRAN = "https://cloud.r-project.org"
))

Or install this exact release from its tag:

install.packages("remotes")
remotes::install_github("renova-r/argon2@renova-0.4.0.9001")

Release notes ยท Renova package directory

argon2 is by Drew Schmidt (maintainer); the original project is at https://github.com/wrathematics/argon2. It bundles the Argon2 reference implementation by Daniel Dinu, Dmitry Khovratovich, Jean-Philippe Aumasson and Samuel Neves (CC0 1.0 or Apache 2.0; see inst/COPYRIGHTS). License: BSD 2-clause License + file LICENSE; see LICENSE (Copyright 2016-2021 Drew Schmidt) and LICENSE.md (full BSD 2-Clause text). The bundled Argon2 reference code keeps its CC0 / Apache 2.0 notices in inst/COPYRIGHTS.