add Berkeley specific header; written by Sam Leffler
[unix-history] / usr / src / lib / libc / gen / crypt.3
index 01bf68a..a972d98 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)crypt.3     5.1 (Berkeley) %G%
+.\"    @(#)crypt.3     6.1.1.1 (Berkeley) %G%
 .\"
 .\"
-.TH CRYPT 3  "25 February 1983"
+.TH CRYPT 3  ""
 .AT 3
 .SH NAME
 crypt, setkey, encrypt \- DES encryption
 .AT 3
 .SH NAME
 crypt, setkey, encrypt \- DES encryption
@@ -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