secretbase: Cryptographic Hash Functions and Data Encoding

Fast and memory-efficient streaming hash functions, binary/text encoding and serialization. Hashes strings and raw vectors directly. Stream hashes files which can be larger than memory, as well as in-memory objects through R's serialization mechanism. Implements the SHA-256, SHA-3 and 'Keccak' cryptographic hash functions, SHAKE256 extendable-output function (XOF), 'SipHash' pseudo-random function, base64 and base58 encoding, 'CBOR' and 'JSON' serialization.

Version: 1.2.2
Depends: R (≥ 3.5)
Published: 2026-05-01
DOI: 10.32614/CRAN.package.secretbase
Author: Charlie Gao ORCID iD [aut, cre], Posit Software, PBC ROR ID [cph, fnd], Hibiki AI Limited [cph], The Mbed TLS Contributors [cph] (SHA-3, SHA-256 and base64 code from Mbed TLS), Red Hat, Inc. [cph] (SipHash code from c-siphash), Luke Dashjr [cph] (Base58 code from libbase58)
Maintainer: Charlie Gao <charlie.gao at posit.co>
BugReports: https://github.com/shikokuchuo/secretbase/issues
License: MIT + file LICENSE
URL: https://shikokuchuo.net/secretbase/, https://github.com/shikokuchuo/secretbase/
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: secretbase results

Documentation:

Reference manual: secretbase.html , secretbase.pdf

Downloads:

Package source: secretbase_1.2.2.tar.gz
Windows binaries: r-devel: secretbase_1.2.1.zip, r-release: secretbase_1.2.1.zip, r-oldrel: secretbase_1.2.1.zip
macOS binaries: r-release (arm64): secretbase_1.2.2.tgz, r-oldrel (arm64): secretbase_1.2.2.tgz, r-release (x86_64): secretbase_1.2.1.tgz, r-oldrel (x86_64): secretbase_1.2.1.tgz
Old sources: secretbase archive

Reverse dependencies:

Reverse imports: finbif, jagstargets, syncdr, tarchetypes, targets
Reverse suggests: mirai

Linking:

Please use the canonical form https://CRAN.R-project.org/package=secretbase to link to this page.