Re: [PHP] MySQL, MD5 and SHA1

2009-04-24 Thread Andrew Ballard
On Wed, Apr 22, 2009 at 10:25 AM, Jan G.B. wrote: > 2009/4/21 Per Jessen : >> Jan G.B. wrote: >> >>> A web application that uses an external db server would be quite ... >>> uhm... slow! Anyone did this, yet? ;) >> >> Certainly, and it's not slow.  It depends entirely on your connection to >> the

Re: [PHP] MySQL, MD5 and SHA1

2009-04-24 Thread Per Jessen
Jan G.B. wrote: > 2009/4/21 Per Jessen : >> Jan G.B. wrote: >> >>> A web application that uses an external db server would be quite ... >>> uhm... slow! Anyone did this, yet? ;) >> >> Certainly, and it's not slow.  It depends entirely on your connection >> to the public internet. >> > > As we're

Re: [PHP] MySQL, MD5 and SHA1

2009-04-22 Thread Jan G.B.
2009/4/21 Per Jessen : > Jan G.B. wrote: > >> A web application that uses an external db server would be quite ... >> uhm... slow! Anyone did this, yet? ;) > > Certainly, and it's not slow.  It depends entirely on your connection to > the public internet. > > As we're speaking of the internet, it

Fwd: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Steve Holmes
Oops, meant to copy the list. -- Forwarded message -- From: Steve Holmes Date: Tue, Apr 21, 2009 at 10:13 PM Subject: Re: [PHP] MySQL, MD5 and SHA1 To: Per Jessen On Tue, Apr 21, 2009 at 1:35 PM, Per Jessen wrote: > Jan G.B. wrote: > > > A web application

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Micah Gersten
Andrew Ballard wrote: > On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek wrote: >> provided I want to store hash of a password in MySQL ... Using MySQL, >> the whole check can be achieved with a SQL query, since the MD5 >> function is provided as part of the database query language ... >> Can I us

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Per Jessen
Jan G.B. wrote: > A web application that uses an external db server would be quite ... > uhm... slow! Anyone did this, yet? ;) Certainly, and it's not slow. It depends entirely on your connection to the public internet. -- Per Jessen, Zürich (18.2°C) -- PHP General Mailing List (http://ww

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Jan G.B.
2009/4/21 Andrew Ballard : > On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek wrote: >> provided I want to store hash of a password in MySQL ... Using MySQL, >> the whole check can be achieved with a SQL query, since the MD5 >> function is provided as part of the database query language ... >> Can

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Andrew Ballard
On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek wrote: > provided I want to store hash of a password in MySQL ... Using MySQL, > the whole check can be achieved with a SQL query, since the MD5 > function is provided as part of the database query language ... > Can I use also SHA1 or must I use MD

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Per Jessen
Grega Leskovsek wrote: > provided I want to store hash of a password in MySQL ... Using MySQL, > the whole check can be achieved with a SQL query, since the MD5 > function is provided as part of the database query language ... > Can I use also SHA1 or must I use MD5? > You could have just checke

[PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Grega Leskovsek
provided I want to store hash of a password in MySQL ... Using MySQL, the whole check can be achieved with a SQL query, since the MD5 function is provided as part of the database query language ... Can I use also SHA1 or must I use MD5? Thanks in advance, -- When the sun rises I receive and when