Thread: encrypt function

encrypt function

From
"Priya G"
Date:
<div style="background-color:"><div><p><br />Is there any encrypt function in postgres? like
encrypt('string')...<p>Thanks,<p>pn<br/></div></div><br clear="all" /><hr /><a
href="http://g.msn.com/8HMAENUS/2740??PS=">Seewhen your friends are online with MSN Messenger 6.0. Download it now
FREE!</a> 

Re: encrypt function

From
Radu-Adrian Popescu
Date:
On Mon, 2003-10-20 at 23:46, Priya G wrote:
Is there any encrypt function in postgres? like encrypt('string')...


Yes, there is. See contrib/crypt - there's a library with crypto stuff, C source code
and SQL bindings (i.e. external functions).
Cheers,
Thanks,

pn




See when your friends are online with MSN Messenger 6.0. Download it now FREE!
-- 
Radu-Adrian Popescu
CSA, DBA, Developer
Aldratech Ltd.
+40213212243

Re: encrypt function

From
"scott.marlowe"
Date:
On Mon, 20 Oct 2003, Priya G wrote:

>
>
> Is there any encrypt function in postgres? like encrypt('string')...

Yes, but they're not built in, you need to look in the
source/contrib/pgcrypto directory to find them.