summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-01-18 18:23:28 +0000
committermarkm <markm@FreeBSD.org>2000-01-18 18:23:28 +0000
commit7673d098ecf41ea3991b10931c31cd568d0508de (patch)
tree3b618255ab3f87b12de8b4ce7c338b94204b71f9 /lib/libcrypt
parentfc15400060f2632255029d99d6de8f8f31880596 (diff)
downloadFreeBSD-src-7673d098ecf41ea3991b10931c31cd568d0508de.zip
FreeBSD-src-7673d098ecf41ea3991b10931c31cd568d0508de.tar.gz
A bunch of factual corrections.
Diffstat (limited to 'lib/libcrypt')
-rw-r--r--lib/libcrypt/crypt.311
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libcrypt/crypt.3 b/lib/libcrypt/crypt.3
index 8fc6da2..7059e60 100644
--- a/lib/libcrypt/crypt.3
+++ b/lib/libcrypt/crypt.3
@@ -79,8 +79,7 @@ using the entire string as the salt (or the first portion).
.Pp
All routines are designed to be time-consuming. A brief test on a
Pentium 166/MMX shows the DES crypt to do approximately 2640 crypts
-a CPU second, MD5 to do about 62 crypts a CPU second and SHA1
-to do about 18 crypts a CPU second.
+a CPU second and MD5 to do about 62 crypts a CPU second.
.Ss DES Extended Format:
.Pp
The
@@ -145,8 +144,6 @@ Currently supported algorithms are:
.Bl -tag -width 012345678 -compact -offset indent
.It 1
MD5
-.It 3
-SHA1
.El
.Pp
Other crypt formats may be easilly added. An example salt would be:
@@ -161,7 +158,7 @@ DES will be used. Otherwise, the best algorithm is used, which is currently
.\"
.\" NOTICE: Also make sure to update this
.\"
-SHA-1.
+MD5.
.Pp
How the salt is used will depend upon the algorithm for the hash. For
best results, specify at least two characters of salt.
@@ -175,9 +172,9 @@ will always return a pointer to a string.
.Sh SEE ALSO
.Xr login 1 ,
.Xr passwd 1 ,
+.Xr cipher 3 ,
.Xr getpass 3 ,
.Xr passwd 5 ,
-.Xr shs 3 ,
.Sh BUGS
The
.Fn crypt
@@ -201,4 +198,4 @@ Users should be aware that this code (and programs staticly linked with it)
may not be exported from the U.S., although it apparently can be imported.
.Sh AUTHORS
Originally written by David Burren <davidb@werj.com.au>, later additions
-and changes by Brandon Gillespie, Poul-henning Kamp and Mark R V Murray.
+and changes by Poul-henning Kamp, Mark R V Murray and Kris Kennaway.
OpenPOWER on IntegriCloud