pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John DeSoi <desoi@pgedit.com>
To: Eugenio Flores <eflores767003@yahoo.com.mx>
Cc: Andrej Ricnik-Bay <andrej.groups@gmail.com>
Cc: PostgreSQL <pgsql-sql@postgresql.org>
Subject: Re: How to store a password encripted in a user defined table
Date: Thu, 1 Mar 2007 08:25:28 -0500
Message-ID: <95880380-1F04-44B5-9353-BAB84955748E@pgedit.com> (raw)
In-Reply-To: <675205.64473.qm@web55615.mail.re4.yahoo.com>
References: <675205.64473.qm@web55615.mail.re4.yahoo.com>

MD5 is built-in to PostgreSQL. It is what PostgreSQL itself uses to  
hash passwords. For example:

select md5('this is my password');

                md5
----------------------------------
210d53992dff432ec1b1a9698af9da16
(1 row)



On Mar 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 code one of those algorithm to use it in my  
> application?



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




view thread (16+ messages)  latest in thread

Message-ID: <95880380-1F04-44B5-9353-BAB84955748E@pgedit.com>
Permalink:  ../95880380-1F04-44B5-9353-BAB84955748E@pgedit.com/
Also on:    postgresql.org/message-id/95880380-1F04-44B5-9353-BAB84955748E@pgedit.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: desoi@pgedit.com, eflores767003@yahoo.com.mx, andrej.groups@gmail.com
  Subject: Re: How to store a password encripted in a user defined table
  In-Reply-To: <95880380-1F04-44B5-9353-BAB84955748E@pgedit.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox