Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Re: crypt()
>
> On Thu, 2004-08-26 at 15:01, Aaron Todd wrote:
> > Thanks for the tip, it worked great, however everything I have been
> reading
> > says that md5 is only one way. The way I have setup my app is the
> database
good to know
--
-->>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocity7.com/
<<--
"M. Sokolewicz" <[EMAIL PROTECTED]> wrote in message
news
Jasper Howard wrote:
you can use md5() which will create an encrypted string
that's not entirely true, all it will do is compute the md5-hash of that
string. Which is *always* a 32-character hexadecimal number (though
before PHP5.0.0 it was returned in a different way). The big difference
betwee
you can use md5() which will create an encrypted string that cannot be
encrypted, or you can use something like base64_encode() which has the
inverse base64_decode, that way you have an encrypted string in the database
but if for example a user loses their password, instead of setting a new
one, yo
On Thu, 2004-08-26 at 15:01, Aaron Todd wrote:
> Thanks for the tip, it worked great, however everything I have been reading
> says that md5 is only one way. The way I have setup my app is the database
> contains the encrypted version of what the user entered as their password.
> Then on my log
Thanks for the tip, it worked great, however everything I have been reading
says that md5 is only one way. The way I have setup my app is the database
contains the encrypted version of what the user entered as their password.
Then on my login page there is an if statement that encrypts what the
"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have developed a PHP based site that requires users to login. Their
login
> information is kept in a MYSQL database. Currently, I am using an IF
> statement to verify what the user enters as their password with what is i
Hello
'salt' basically is the initialization sequence for the encryption. This
makes the function use more random numbers since the salt will be
different on different calls. At least it should be
So in order for your crypt() to work you have to pass the same salt to
both functions.
To de
8 matches
Mail list logo