1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! # 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](https://crates.io/crates/memsec) crate, but actually documents them.
pub use *;
pub use *;