//! Base64 decode-and-recheck helper. Used by the suppression decision tree
//! to peek inside a candidate that *might* be a base64-wrapped fixture
//! (kubernetes-secret `data:` fields, dockerconfigjson auth blobs) so the
//! inner suppression gates can fire on the decoded payload.
/// Try to decode `credential` as standard or url-safe base64 and
/// return the result as UTF-8 if successful. Returns `None` on any
/// decode failure or non-UTF-8 payload.
///
/// Used by the suppression gate to peek inside base64-wrapped
/// fixtures whose outer shape looks generic but whose decoded
/// content is a known placeholder / hash / ARN / UUID.
///
/// `pub(crate)` (widened from `pub(super)`) so the crate lib-test tree can
/// unit-test the suppression-specific len<8 floor and the two recall-preserving
/// `None` paths directly (mirroring how `token_randomness`'s predicates are
/// tested via `keyhog_scanner::suppression::…`), not only transitively through
/// the end-to-end suppression truth table.
pub