secretbase: Cryptographic Hash, Extendable-Output and Binary/Text Encoding Functions

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.

Package details

AuthorCharlie Gao [aut, cre] (ORCID: <https://orcid.org/0000-0002-0750-061X>), Posit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>), Hibiki AI Limited [cph]
MaintainerCharlie Gao <charlie.gao@posit.co>
LicenseMIT + file LICENSE
Version1.2.0
URL https://shikokuchuo.net/secretbase/ https://github.com/shikokuchuo/secretbase/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("secretbase")

Try the secretbase package in your browser

Any scripts or data that you put into this service are public.

secretbase documentation built on Feb. 5, 2026, 9:09 a.m.