Onetime-cli
Encrypt / decrypt files using the one-time pad.
Install
If you have cargo installed, run:
Otherwise you can download an executable from the Release section.
Usage
The simplest way to encrypt a file called secret.txt
is:
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:
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: