aboutsummaryrefslogtreecommitdiffstats
path: root/doc/apps/enc.pod
diff options
context:
space:
mode:
Diffstat (limited to 'doc/apps/enc.pod')
-rw-r--r--doc/apps/enc.pod11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/apps/enc.pod b/doc/apps/enc.pod
index 8f7e1cb7f8..bcaa49f54a 100644
--- a/doc/apps/enc.pod
+++ b/doc/apps/enc.pod
@@ -22,7 +22,7 @@ B<openssl enc -ciphername>
[B<-salt>]
[B<-nosalt>]
[B<-z>]
-[B<-md>]
+[B<-md digest>]
[B<-p>]
[B<-P>]
[B<-bufsize number>]
@@ -97,6 +97,11 @@ read the password to derive the key from the first line of B<filename>.
This is for compatibility with previous versions of OpenSSL. Superseded by
the B<-pass> argument.
+=item B<-md digest>
+
+Use the specified digest to create the key from the passphrase.
+The default algorithm is sha-256.
+
=item B<-nosalt>
do not use a salt
@@ -329,4 +334,8 @@ The B<enc> program only supports a fixed number of algorithms with
certain parameters. So if, for example, you want to use RC2 with a
76 bit key or RC4 with an 84 bit key you can't use this program.
+=head1 HISTORY
+
+The default digest was chaned from MD5 to SHA256 in Openssl 1.1.
+
=cut