Skip to main content

Module cache

Module cache 

Source
Expand description

Shared in-memory verification cache. Verification cache: avoids re-verifying the same credential across scans.

Stores (credential_hash, detector_id) -> (result, expiry) mappings. TTLs matter because live/dead status changes over time, and the cache stores only hashes so plaintext credentials are not retained in memory longer than needed.

Structs§

VerificationCache
Bounded in-memory cache for verification outcomes.