[BACK]Return to encrypt.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / encrypt

Diff for /src/usr.bin/encrypt/encrypt.1 between version 1.4 and 1.5

version 1.4, 1996/08/26 08:41:25 version 1.5, 1997/03/30 19:22:45
Line 32 
Line 32 
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Nm encrypt  .Nm encrypt
 .Op Fl k  .Op Fl k
   .Op Fl b Ar rounds
 .Op Fl m  .Op Fl m
 .Op Fl s Ar salt  .Op Fl s Ar salt
 .Op Ar string  .Op Ar string
Line 44 
Line 45 
 from within scripts.  from within scripts.
 .Pp  .Pp
 The following options are supported:  The following options are supported:
 .Bl -tag -width XxXXXXX  .Bl -tag -width XxXXXXXXX
 .It Fl k  .It Fl k
 Run in  Run in
 .Nm makekey  .Nm makekey
 compatible mode; a single combined key and salt are read from standard  compatible mode; a single combined key and salt are read from standard
 input and the DES encrypted result is written to standard output without a  input and the DES encrypted result is written to standard output without a
 terminating newline.  terminating newline.
   .It Fl b Ar rounds
   Encrypt the string using Blowfish hashing with the specified
   .Ar rounds .
 .It Fl m  .It Fl m
 Encrypt the string using MD5.  Encrypt the string using MD5.
 .It Fl s Ar salt  .It Fl s Ar salt
Line 63 
Line 67 
 is specified,  is specified,
 .Nm encrypt  .Nm encrypt
 reads one string per line from standard input, encrypting each one with  reads one string per line from standard input, encrypting each one with
 the same  with the chosen algorithm from above. In case that no specific algorithm
 .Ar salt .  was given as command line option, the default will be looked up from
   .Ar passwd.conf(5) .
   .Pp
   For MD5 and Blowfish a new random salt is automatically generated for each
   password.
   .Pp
 Specifing the  Specifing the
 .Ar string  .Ar string
 on the command line should be discouraged; using the  on the command line should be discouraged; using the
 standard input is more secure.  standard input is more secure.
   .Sh FILES
   .Bl -tag -width /etc/passwd.conf -compact
   .It Pa /etc/passwd.conf
   .El
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr crypt 3  .Xr crypt 3 ,
   .Xr passwd.conf 5 ,
   .Xr pw_getconf 3
 .Sh HISTORY  .Sh HISTORY
 .Nm encrypt  .Nm encrypt
 first appeared in OpenBSD 1.2.  first appeared in OpenBSD 1.2.

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5