Expand description
Optional simd and checked-backend features forward to the core’s ordinary
kernels without changing defaults or grammar. checked-backend implies
simd; neither enables std, alloc or secrets on its own. Eligible
sizes and CPU/build capabilities still govern acceleration. Secret/CT paths
remain separate. Without core std, complete static ISA features are required.
Bounded support for the registered Base64-family multibase encodings.
This crate implements only base64 (m), base64pad (M), base64url
(u), and base64urlpad (U) from the pinned multibase registry. It is
not a complete multibase implementation and rejects every other prefix.
All decoding is strict and canonical for the prefix-selected RFC 4648
alphabet and padding policy.
Structs§
- Base64
Multibase Decoder - Heapless bounded incremental Base64-family multibase decoder.
- Base64
Multibase Encoder - Heapless bounded incremental Base64-family multibase encoder.
- Base64
Multibase Error - Base64-family multibase failure with bounded ordinary diagnostics.
- Base64
Multibase Limits - Finite resource limits for one Base64-family multibase value.
- Base64
Multibase Step - Exact incremental progress for one call.
- Decoded
Base64 Multibase - Successful caller-owned decode result.
- Decoded
Base64 Multibase Vec - Successful allocated decode result.
Enums§
- Base64
Multibase Encoding - One admitted Base64-family multibase registration.
- Base64
Multibase Error Kind - Stable Base64-family multibase failure class.
- Base64
Multibase Status - Non-failing incremental state after one operation.
- Multibase
Registry Status - Status recorded by the pinned multibase registry.
Functions§
- base64_
multibase_ encoded_ len - Returns the exact prefixed encoded length.
- decode_
base64_ multibase_ into - Decodes one complete Base64-family multibase value transactionally.
- decode_
base64_ multibase_ to_ vec - Decodes one Base64-family multibase value into a newly allocated vector.
- encode_
base64_ multibase_ into - Encodes one complete Base64-family multibase value transactionally.
- encode_
base64_ multibase_ to_ string - Encodes one Base64-family multibase value into a newly allocated string.
- validate_
base64_ multibase - Validates one complete Base64-family multibase value without decoding.