X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fapps%2Fenc.pod;h=ddf081617f5191d3b4bf210999a1cbaf00c15bec;hp=9323223cd251f976dc2f654bf41844229f87c361;hb=9449e38504dea3e1500cd58f40c1b2b904ef843d;hpb=f2e5ca84d4d218a29e2c960d9b23a40d8236cd06 diff --git a/doc/apps/enc.pod b/doc/apps/enc.pod index 9323223cd2..ddf081617f 100644 --- a/doc/apps/enc.pod +++ b/doc/apps/enc.pod @@ -97,12 +97,18 @@ of hex digits. =item B<-K key> the actual key to use: this must be represented as a string comprised only -of hex digits. +of hex digits. If only the key is specified, the IV must additionally specified +using the B<-iv> option. When both a key and a password are specified, the +key given with the B<-K> option will be used and the IV generated from the +password will be taken. It probably does not make much sense to specify +both key and password. =item B<-iv IV> the actual IV to use: this must be represented as a string comprised only -of hex digits. +of hex digits. When only the key is specified using the B<-K> option, the +IV must explicitly be defined. When a password is being specified using +one of the other options, the IV is generated from this password. =item B<-p> @@ -154,7 +160,7 @@ padding: this allows a rudimentary integrity or password check to be performed. However since the chance of random data passing the test is better than 1 in 256 it isn't a very good test. -If padding is disabled then the input data must be a muliple of the cipher +If padding is disabled then the input data must be a multiple of the cipher block length. All RC2 ciphers have the same key and effective key length.