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
41
42
//! # Onetime-cli
//!
//!Encrypt / decrypt files using the one-time pad.
//!
//! ## Usage
//!
//! The simplest way to encrypt a file called `secret.txt` is:
//!
//! ```bash
//! onetime-cli encrypt secret.txt
//! ```
//!
//! which will generate two new files `secret.txt.otp.0` and `secret.txt.otp.1`. You can then delete `secret.txt`.
//!
//!
//!
//! To decrypt `secret.txt`, run:
//!
//! ```bash
//! onetime-cli decrypt secret.txt
//! ```
//!
//! which will use the two `secret.txt.otp.*` files to decrypt `secret.txt`. You can then delete these two files.
//!
//!
//!
//! To see more possible cli arguments, run:
//!
//! ```bash
//! onetime-cli --help
//! ```
pub use Config;
pub use ;
pub use ;