Skip to main content

Module decode

Module decode 

Source
Expand description

Decode-through pipeline for nested encodings (base64, hex, URL, etc.). Decode-through scanning: decode base64 and hex strings before pattern matching.

Catches secrets hidden behind encoding layers - Kubernetes manifests, CI/CD configs, and hex-encoded credentials.

Re-exports§

pub use hex::hex_decode;

Modules§

caesar
hex
reverse
util
Shared helpers used across the per-encoding decoders.

Structs§

EncodedString
Candidate encoded string discovered during pre-decoding extraction.

Traits§

Decoder
A trait for decoding chunks to find hidden secrets.

Functions§

base64_decode
decode_chunk
find_base64_strings
register_decoder
Register a custom decoder. Must be called BEFORE any scan runs. Panics if the decoder list has already been initialized.
z85_decode