secretbase
Cryptographic Hash Functions and Data Encoding
secretbase quietly grew from a hashing package into a serialization toolkit
◆Recent moves
- 2mo ago
secretbase 1.3.0
base64enc() and base64dec() gain a url argument for the RFC 4648 section 5 variant — the - and _ alphabet without padding. Small, but it is the encoding required anywhere base64 output lands in a URL path or filename, which the standard alphabet cannot safely do.
View source ↗ - 3mo ago
secretbase 1.2.2
Faster hex conversion for hash output and UTF-8 tagging on jsondec() strings per RFC 8259. Follow-up polish on the formats added earlier in the year.
View source ↗ - 4mo ago
secretbase 1.2.1
Undefined behaviour fixed as flagged by GCC 16. Compilation hygiene, no user-visible effect.
View source ↗ - 6mo ago
secretbase 1.2.0
jsonenc() and jsondec() arrive as a minimal JSON implementation, giving the package a text counterpart to the CBOR support added the month before. Another dependency-free codec rather than a wrapper.
View source ↗ - 7mo ago
secretbase 1.1.1
CBOR performance work plus a semantic fix — scalar values carrying attributes now encode as scalars rather than arrays. A correctness detail that matters for anything reading the output in another language.
View source ↗ - 7mo ago
secretbase 1.1.0 adds CBOR, turning a hash package into a codec
⚡ SPARKThe release that changes what secretbase is for. CBOR encoding handles structured R data — integers, floats, strings, raw vectors, lists — which is a different job from digesting bytes, and everything added since has extended that second role rather than the hashing one.
View source ↗