From: | Raúl Andrés Duque Murillo <ra_duque(at)yahoo(dot)com(dot)mx> |
---|---|
To: | "Julio Cesar Rodriguez Dominguez" <jurasec(at)gmail(dot)com>, Sonia Perez Peña <Sonia(at)citmatel(dot)inf(dot)cu> |
Cc: | <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: sobre funcion Password |
Date: | 2008-06-16 13:08:18 |
Message-ID: | ED3CE99BFDB54A65B009B69D59825316@Principal |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
--------------------------------------------------
From: "Julio Cesar Rodriguez Dominguez" <jurasec(at)gmail(dot)com>
Sent: Monday, June 16, 2008 9:43 PM
To: "Sonia Perez Peña" <Sonia(at)citmatel(dot)inf(dot)cu>
Cc: <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: [pgsql-es-ayuda] sobre funcion Password
> 2008/6/16 Sonia Perez Peña <Sonia(at)citmatel(dot)inf(dot)cu>:
>> Hola a todos en MySQL existe una funcion Password que me permite guardar
>> datos encriptados, ?hay algo parecido en PostgresSQL
>
> ya leiste la documentación?, puedes usar MD5
>
> http://www.postgresql.org/docs/current/static/functions-string.html
>
Realmente MD5 es un función hash (no reversible), que si se trata de guardar
"algo" para comparar passwords esta perfecto.
Si quieres guardar datos encriptados (lógicamente para luego
desencriparlos), puedes usar un contrib llamado pgcrypto.
Atentamente,
RAUL DUQUE
Bogotá, Colombia
>>
>>
>>
>>
>>
>> gracias
>
>
>
> --
> :: God bless you, every day and every night ::
> --
> TIP 3: Si encontraste la respuesta a tu problema, publícala, otros te lo
> agradecerán
>
> __________ Information from ESET Smart Security, version of virus
> signature database 3191 (20080616) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Miguel Rodríguez Penabad | 2008-06-16 14:07:40 | Re: Crear función con un FOR |
Previous Message | Alvaro Herrera | 2008-06-16 12:25:13 | Re: Consulta con Condicionales |