On Fri, Jan 04, 2002 at 03:13:39PM +0530, Hari wrote:
> Hi all,
>     I use openssl-0.9.6 on a RedHat Linux 7.0 system as well as LynxOS system, both 
>on i386 machines.
>     I use the crypt() function defined in (ssldir)/crypt/des/fcrypt.c
>     The output of crypt remains same for passwords with the same first 8 characters.
>     I would like to know the maximum length of the password argument to 
>crypt(password, salt) function. 
> 
> Thanks for any help,
> Hari.

Modern forms of crypt() using the $1$salt$ MD5sum form of the salt generate unique 
crypt strings for any length of password

>From the man pages

       If  the salt starts with $1$ an MD5 based password hashing
       algoritm is applied. The salt should consist off $1$  followed 
       with eight characters.

off should read of :)

Kind Regards

Crispin

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to