Skip to main content

Module encoding

Module encoding 

Source
Expand description

Shared standard Base64 decode (wire / K8s), bounded for DoS safety. Standard Base64 (RFC 4648) decode for wire formats and structured data.

Scan-time variant base64 (URL-safe, unpadded) lives in keyhog-scanner.

Constants§

MAX_STANDARD_BASE64_INPUT_BYTES
Maximum input length for decode_standard_base64. Matches the scanner pipeline cap so credential serde and K8s secret parsing stay consistent.

Functions§

decode_standard_base64
Decode standard-alphabet base64 (with optional = padding).