version 1.11, 1999/06/05 01:21:23 |
version 1.12, 1999/07/04 11:53:53 |
|
|
.Op Fl p | Ar string |
.Op Fl p | Ar string |
.Nm makekey |
.Nm makekey |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm encrypt |
.Nm |
prints the encrypted form of |
prints the encrypted form of |
.Ar string |
.Ar string |
to the standard output. This is mostly useful for encrypting passwords |
to the standard output. This is mostly useful for encrypting passwords |
|
|
If no |
If no |
.Ar string |
.Ar string |
is specified, |
is specified, |
.Nm encrypt |
.Nm |
reads one string per line from standard input, encrypting each one |
reads one string per line from standard input, encrypting each one |
with the chosen algorithm from above. In case that no specific algorithm |
with the chosen algorithm from above. In case that no specific algorithm |
was given as a command line option, the default will be looked up from |
was given as a command line option, the default will be looked up from |
|
|
.Xr pw_getconf 3 , |
.Xr pw_getconf 3 , |
.Xr passwd.conf 5 |
.Xr passwd.conf 5 |
.Sh HISTORY |
.Sh HISTORY |
.Nm encrypt |
.Nm |
first appeared in |
first appeared in |
.Ox 1.2 . |
.Ox 1.2 . |
.Pp |
.Pp |