Skip to main content

Module scan

Module scan 

Source
Expand description

Token scanning and replacement in byte buffers.

Finds starpod:v1: opaque tokens in arbitrary data (headers, bodies), decrypts them, verifies host binding, and replaces with real values.

Structs§

ScanResult
Result of scanning a buffer for opaque tokens.

Functions§

cipher_from_key
Create a cipher from a 32-byte master key.
scan_and_replace
Scan data for starpod:v1: tokens and replace/strip them.
scan_and_replace_str
Convenience wrapper for string data.