sensitive

Crates.iosensitive
lib.rssensitive
version0.10.5
created_at2021-05-19 11:59:36.843179+00
updated_at2025-03-10 21:20:06.372789+00
descriptionMemory allocator for sensitive information
homepage
repositoryhttps://github.com/illdefined/sensitive
max_upload_size
id399535
size69,416
Mikael (illdefined)

documentation

README

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.

Intellectual property

This work is dedicated to the public domain under the terms of the CC0 1.0 licence.

The author holds no patent rights related to this work.

Commit count: 142

cargo fmt