Skip to main content

Module b64

Module b64 

Source
Expand description

Base64 encode/decode helpers, standard RFC 4648 alphabet, no external dependency.

Used by the ESC8 scanner to encode the NTLM Negotiate token and decode the server’s NTLM Challenge from HTTP response headers.

Functions§

b64_decode
Decode standard Base64 (RFC 4648). Returns None on invalid input.
b64_encode
Encode input to standard Base64 (RFC 4648, with = padding).