onetime-cli

Crates.ioonetime-cli
lib.rsonetime-cli
version0.4.1
sourcesrc
created_at2023-01-01 17:19:25.78804
updated_at2023-10-27 11:21:34.479688
descriptionEncrypt / decrypt files using the one-time pad.
homepage
repositoryhttps://github.com/einfachIrgendwer0815/onetime-cli
max_upload_size
id748953
size66,369
(einfachIrgendwer0815)

documentation

README

Onetime-cli

Crates.io Docs.rs Crates.io Github.com Github.com

Encrypt / decrypt files using the one-time pad.

Install

If you have cargo installed, run:

cargo install onetime-cli

Otherwise you can download an executable from the Release section.

Usage

The simplest way to encrypt a file called secret.txt is:

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:

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:

onetime-cli --help
Commit count: 63

cargo fmt