add Berkeley specific header; written by Sam Leffler
[unix-history] / usr / src / lib / libc / gen / crypt.3
index f9610b8..a972d98 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)crypt.3     4.1 (Berkeley) %G%
+.\"    @(#)crypt.3     6.1.1.1 (Berkeley) %G%
 .\"
 .\"
-.TH CRYPT 3 
+.TH CRYPT 3  ""
 .AT 3
 .SH NAME
 crypt, setkey, encrypt \- DES encryption
 .AT 3
 .SH NAME
 crypt, setkey, encrypt \- DES encryption
@@ -24,7 +24,7 @@ implementations of the DES for key search.
 .PP
 The first argument to
 .I crypt
 .PP
 The first argument to
 .I crypt
-is a user's typed password.
+is normally a user's typed password.
 The second is a 2-character string chosen from the
 set [a-zA-Z0-9./].
 The
 The second is a 2-character string chosen from the
 set [a-zA-Z0-9./].
 The
@@ -55,11 +55,10 @@ to a similar array
 representing the bits of the argument after having been
 subjected to the DES algorithm using the key set by
 .I setkey.
 representing the bits of the argument after having been
 subjected to the DES algorithm using the key set by
 .I setkey.
-If
+The
 .I edflag
 .I edflag
-is 0, the argument is encrypted;
-if non-zero,
-it is decrypted.
+flag is ignored;
+the argument can only be encrypted.
 .SH "SEE ALSO"
 passwd(1), passwd(5), login(1), getpass(3)
 .SH BUGS
 .SH "SEE ALSO"
 passwd(1), passwd(5), login(1), getpass(3)
 .SH BUGS