Re: [PHP] MySQL, MD5 and SHA1

2009-04-24 Thread Per Jessen
Jan G.B. wrote: 2009/4/21 Per Jessen p...@computer.org: 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-24 Thread Andrew Ballard
On Wed, Apr 22, 2009 at 10:25 AM, Jan G.B. ro0ot.w...@googlemail.com wrote: 2009/4/21 Per Jessen p...@computer.org: 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

Re: [PHP] MySQL, MD5 and SHA1

2009-04-22 Thread Jan G.B.
2009/4/21 Per Jessen p...@computer.org: 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

[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

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 checked

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Andrew Ballard
On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek mavri...@gmail.com 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

Re: [PHP] MySQL, MD5 and SHA1

2009-04-21 Thread Jan G.B.
2009/4/21 Andrew Ballard aball...@gmail.com: On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek mavri...@gmail.com 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

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

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 mavri...@gmail.com 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 ...

Fwd: [PHP] MySQL, MD5 and SHA1

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