Skip to content

CryptProtectMemory on Windows #123

Description

@colleirose

Windows provides an API to encrypt data in-memory so that it can only be decrypted by the current process. See https://learn.microsoft.com/en-us/windows/win32/api/dpapi/nf-dpapi-cryptprotectmemory. According to some reverse engineering work, the function uses AES-128, and it can be bypassed by admin-level processes, but it still provides some enhanced memory protection. Could this function be added for this crate on Windows?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions