• 
      

    Add a class for storing sensitive bytes.

    Review Request #15172 — Created July 15, 2026 and updated — Latest diff uploaded

    Information

    cryptozoology
    master

    Reviewers

    This introduces SensitiveBytes, which is a bytearray that, once
    invalidated (by falling out of scope, using as a context manager and
    exiting, or manually invalidating), will clear the contents. This keeps
    sensitive data (such as decrypted plaintexts) from sticking around in
    memory accidentally.

    Unit tests pass.

    Updated the keys change based on this, and verified everything worked.

    Commits

    Files