Browse Source

2**8 is normally 256 and not 64, I should resign from applied math it seems.

OPENBSD_2_3
provos 27 years ago
parent
commit
0b9d39c6e3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/crypt/crypt.3

+ 2
- 2
src/lib/libc/crypt/crypt.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: crypt.3,v 1.8 1997/11/30 22:06:02 deraadt Exp $
.\" $OpenBSD: crypt.3,v 1.9 1997/11/30 23:16:30 provos Exp $
.\" .\"
.\" FreeSec: libcrypt .\" FreeSec: libcrypt
.\" .\"
@ -129,7 +129,7 @@ state 64 times.
The version number, the logarithm of the number of rounds and The version number, the logarithm of the number of rounds and
the concatenation of salt and the concatenation of salt and
hashed password are separated by the ``$'' character. An encoded ``8'' hashed password are separated by the ``$'' character. An encoded ``8''
would specify 64 rounds.
would specify 256 rounds.
A valid password looks like this: A valid password looks like this:
.Pp .Pp
``$2a$12$eIAq8PR8sIUnJ1HaohxX2O9x9Qlm2vK97LJ5dsXdmB.eXF42qjchC''. ``$2a$12$eIAq8PR8sIUnJ1HaohxX2O9x9Qlm2vK97LJ5dsXdmB.eXF42qjchC''.


Loading…
Cancel
Save