1 unstable release
new 0.1.0 | Mar 23, 2025 |
---|
#87 in #memory-management
97 downloads per month
36KB
591 lines
InsectBox
This crate aims to provide in-memory security inspired by OpenSSH in-memory key encryption.
Warning
This crate is very unsafe and full of unsafe code. It should not be used for any real aplication, UNLESS it actually is deemed safe enough after reviewing the source code.
Features
Feature | Description |
---|---|
secbox |
SecBox<T> and InsecBox<T> types |
cryptbox |
CryptBox<T> and PlainBox<T> types |
Note: the secbox
feature is enabled by default
The utils
module
This module is public for one simple reason: to allow other users to implement types similar or better than the ones provided in this crate. It also provides almost the same utilities as the memsec crate, but actually documents them.
lib.rs
:
InsectBox
This crate aims to provide in-memory security inspired by OpenSSH in-memory key encryption.
Warning
This crate is very unsafe and full of unsafe code. It should not be used for any real aplication, UNLESS it actually is deemed safe enough after reviewing the source code.
Features
Feature | Description |
---|---|
secbox |
SecBox<T> and InsecBox<T> types |
cryptbox |
CryptBox<T> and PlainBox<T> types |
Note: the secbox
feature is enabled by default
The utils
module
This module is public for one simple reason: to allow other users to implement types similar or better than the ones provided in this crate. It also provides almost the same utilities as the memsec crate, but actually documents them.
Dependencies
~0–8.5MB
~64K SLoC