Skip to main content

Module web

Module web 

Source
Expand description

Exact WHATWG forgiving Base64 decoding for ordinary web-compatible input.

FORGIVING follows the WHATWG Infra Standard algorithm: it removes ASCII whitespace, accepts omitted canonical padding, rejects impossible lengths and non-Standard symbols, and discards unused trailing bits. This is deliberately separate from strict RFC 4648 and secret::* APIs. It is not a constant-time or zeroizing interface.

Structs§

ForgivingBase64
Exact WHATWG forgiving Base64 decoder.
ForgivingDecoder
Heapless incremental WHATWG forgiving Base64 decoder.

Enums§

ForgivingError
Opaque WHATWG decode, lifecycle, or resource failure.

Constants§

FORGIVING
Exact WHATWG forgiving Base64 decoder.