Skip to content

Simple Rust memory allocator for sensitive information

License

Notifications You must be signed in to change notification settings

illdefined/sensitive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

This is a library of memory allocators and data structures to handle sensitive information, especially when interfacing with foreign and unsafe code.

It currently features:

Usage

Add this to your Cargo.toml:

[dependencies]
sensitive = "0.10"

The force-mlock feature may be used to force allocations to be memory‐resident: If the memory cannot be locked, the allocation will fail. Without this feature, locking is attempted, but failures are ignored.

Implementation notes

This code relies heavily on experimental nightly‐only APIs.

About

Simple Rust memory allocator for sensitive information

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages