Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1EBF59FB61C for ; Thu, 1 Mar 2007 15:49:44 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 91179-04 for ; Thu, 1 Mar 2007 15:49:34 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from web55606.mail.re4.yahoo.com (web55606.mail.re4.yahoo.com [206.190.58.230]) by postgresql.org (Postfix) with SMTP id 8FC339FB612 for ; Thu, 1 Mar 2007 15:49:34 -0400 (AST) Received: (qmail 20035 invoked by uid 60001); 1 Mar 2007 19:49:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.mx; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=osYg7wPFEa/NJHm8rRLxwzbZcUYgHfGQFL56Pl8sVQldDJe5BrTodPzhV6hHGrHePryXFlWUZi0ETm3+sfG35+dDL3fusrdBccqP7pKVzJz19rLBfI+dBozEa/djD+3xg7cdwpJf/sfg/IrggpX9dAKpmSxP4mC5UyR4J+bgnRU=; X-YMail-OSG: SF7exmEVM1lvhsaMv8qLt1GYCRy7uUWw5Z1Wzy2FJVd9Vt0e43.oU7BY3GE3QhkUZUi_9XX1JOAvVHAT86JTnH9TSiwDLREB0Tqx8lniegCi7Llp7JAns9leDBfJ8BoNm629aBZp71nqdQ8- Received: from [165.98.140.116] by web55606.mail.re4.yahoo.com via HTTP; Thu, 01 Mar 2007 11:49:33 PST X-Mailer: YahooMailRC/368.8 YahooMailWebService/0.6.132.8 Date: Thu, 1 Mar 2007 11:49:33 -0800 (PST) From: Eugenio Flores Subject: Re: How to store a password encripted in a user defined table To: John DeSoi Cc: Andrej Ricnik-Bay , PostgreSQL MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1274382325-1172778573=:3417" Message-ID: <278410.3417.qm@web55606.mail.re4.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.331 tagged_above=0 required=5 tests=AWL, BAYES_40, HTML_40_50, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200703/20 X-Sequence-Number: 27658 --0-1274382325-1172778573=:3417 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for your anwers. They have been very useful.=0A=0AThanks again.=0A= =0A=0A----- Mensaje original ----=0ADe: John DeSoi =0APar= a: Eugenio Flores =0ACC: Andrej Ricnik-Bay ; PostgreSQL =0AEnviado: jue= ves, 1 de marzo, 2007 5:25:28=0AAsunto: Re: [SQL] How to store a password e= ncripted in a user defined table=0A=0A=0AMD5 is built-in to PostgreSQL. It = is what PostgreSQL itself uses to =0Ahash passwords. For example:=0A=0Asel= ect md5('this is my password');=0A=0A md5=0A----------------= ------------------=0A210d53992dff432ec1b1a9698af9da16=0A(1 row)=0A=0A=0A=0A= On Mar 1, 2007, at 6:06 AM, Eugenio Flores wrote:=0A=0A> Thanks Andrej. But= how can I use such algoritms in postgresql? arey =0A> they defined in a f= unction that I can call?=0A>=0A> Or, do I have to code one of those algorit= hm to use it in my =0A> application?=0A=0A=0A=0AJohn DeSoi, Ph.D.=0Ahttp:/= /pgedit.com/=0APower Tools for PostgreSQL=0A=0A=0A-------------------------= --(end of broadcast)---------------------------=0ATIP 9: In versions below = 8.0, the planner will ignore your desire to=0A choose an index scan i= f your joining column's datatypes do not=0A match=0A=0A=0A=09=0A=09= =0A=09=09=0A___________________________________________________________ =0A= Do You Yahoo!? =0ALa mejor conexi=F3n a Internet y 2GB extra a tu c= orreo por $100 al mes. http://net.yahoo.com.mx =0A --0-1274382325-1172778573=:3417 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks for your anwers. They have been very usefu= l.
=0A
 
=0A
Thanks again.

= =0A
----- Mensaje original ----
De: John DeSoi <desoi@pgedit= .com>
Para: Eugenio Flores <eflores767003@yahoo.com.mx>
CC: = Andrej Ricnik-Bay <andrej.groups@gmail.com>; PostgreSQL <pgsql-sql= @postgresql.org>
Enviado: jueves, 1 de marzo, 2007 5:25:28
Asunto:= Re: [SQL] How to store a password encripted in a user defined table
=0A
MD5 is built-in to PostgreSQL. It is what PostgreSQL itself uses t= o  
hash passwords. For example:

select md5('this is my= password');

         &= nbsp;      md5
---------------------------= -------
210d53992dff432ec1b1a9698af9da16
(1 row)



On Ma= r 1, 2007, at 6:06 AM, Eugenio Flores wrote:

> Thanks Andrej. But= how can I use such algoritms in postgresql? arey  
> they = defined in a function that I can call?
>
> Or, do I have to cod= e one of those algorithm to use it in my  
> application?


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


----= -----------------------(end of broadcast)---------------------------
TIP= 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your jo= ining column's datatypes do not
       mat= ch
=0A


=0A=09=09
=0AD= o You Yahoo!? =0ALa mejor conexi=F3n a Internet y 2GB extra a tu cor= reo por $100 al mes. http://net.yahoo.c= om.mx =0A --0-1274382325-1172778573=:3417--