aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-12-28 15:41:47 -0500
committerJack Lloyd <[email protected]>2021-01-15 08:51:19 -0500
commit19df4ca1e2715a1cdc5f41c9031abd230e91fa87 (patch)
treecfc7d608e2b5d2edd06c35a85e8cdccd36e96c96 /doc
parent58241a29b8c6a2a560af555b0203a56d499fe35e (diff)
Rewrite the encryption cli to support any cipher
Diffstat (limited to 'doc')
-rw-r--r--doc/cli.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/cli.rst b/doc/cli.rst
index 98f9f06d4..37698cef7 100644
--- a/doc/cli.rst
+++ b/doc/cli.rst
@@ -63,9 +63,10 @@ HMAC
Encryption
----------------
-``encryption --buf-size=4096 --decrypt --mode= --key= --iv= --ad=``
- Encrypt a given file with the specified *mode*. If ``--decrypt`` is provided
- the file is decrypted instead.
+``cipher --buf-size=4096 --decrypt --cipher= --key= --nonce= --ad=``
+
+ Encrypt a given file with the specified *cipher*, eg "AES-256/GCM".
+ If ``--decrypt`` is provided the file is decrypted instead.
Public Key Cryptography
-------------------------------------