On 01/10/2007, Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar> wrote:
>
> 1) Is MD5's weakness true?
Yes, but not really for using in a password functionality. You are
very unlikely to repeat a password but in any case you will have the
user ID to make it unique.
> 2) Is there any sha1() functions in PostgreSQL?
>
It doesn't come with the default setup, but it's very simple to get.
Take a look at this: http://snipr.com/pg_sha1