From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | Jamie Deppeler <jamie(at)doitonce(dot)net(dot)au> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: MD5 |
Date: | 2004-12-17 00:35:24 |
Message-ID: | 20041217003524.GA8980@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
[Please don't post in HTML]
On Fri, Dec 17, 2004 at 10:55:47AM +1100, Jamie Deppeler wrote:
> Well basically i want to store and hashed value that will never be
> changed just compaired too hashed values
In that case MD5 should suffice, although recently-discovered
weaknesses have led some people to prefer SHA-1 or RIPEMD-160,
which are available through contrib/pgcrypto.
http://en.wikipedia.org/wiki/Md5
Your original question asked about encryption, so we gave answers
based on that requirement.
> also when i try to encrpyt a field i get this error
> encypt(text,"unknown","unknown")
Please show the SQL statement you executed and the complete, exact
error message.
Did you build and install pgcrypto? It's likely not installed on
your system by default.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
From | Date | Subject | |
---|---|---|---|
Next Message | Tino Wildenhain | 2004-12-17 00:39:03 | Re: MD5 |
Previous Message | Jamie Deppeler | 2004-12-17 00:28:36 | sorting problem |