From sreepriya@hotmail.com Mon Oct 20 20:47:11 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1956CD1B508 for ; Mon, 20 Oct 2003 20:47:11 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 02685-05 for ; Mon, 20 Oct 2003 17:46:42 -0300 (ADT) Received: from hotmail.com (bay99-f49.bay99.hotmail.com [65.54.175.49]) by svr1.postgresql.org (Postfix) with ESMTP id 0C311D1B515 for ; Mon, 20 Oct 2003 17:46:39 -0300 (ADT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 20 Oct 2003 13:46:41 -0700 Received: from 65.207.145.30 by by99fd.bay99.hotmail.msn.com with HTTP; Mon, 20 Oct 2003 20:46:40 GMT X-Originating-IP: [65.207.145.30] X-Originating-Email: [sreepriya@hotmail.com] From: "Priya G" To: pgsql-admin@postgresql.org Subject: encrypt function Date: Mon, 20 Oct 2003 16:46:40 -0400 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 20 Oct 2003 20:46:41.0062 (UTC) FILETIME=[43B28460:01C3974B] X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.7 tagged_above=0.0 required=5.0 tests=HTML_40_50 X-Spam-Level: X-Archive-Number: 200310/247 X-Sequence-Number: 10808


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

Thanks,

pn



See when your friends are online with MSN Messenger 6.0. Download it now FREE! From scott.marlowe@ihs.com Mon Oct 20 22:29:22 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7ABDDD1B501 for ; Mon, 20 Oct 2003 22:29:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 24823-01 for ; Mon, 20 Oct 2003 19:28:53 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id A86E9D1B4E5 for ; Mon, 20 Oct 2003 19:28:46 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.10/8.12.10) with ESMTP id h9KMReOk004827; Mon, 20 Oct 2003 16:27:40 -0600 (MDT) Date: Mon, 20 Oct 2003 16:16:41 -0600 (MDT) From: "scott.marlowe" To: Priya G Cc: Subject: Re: encrypt function In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/249 X-Sequence-Number: 10810 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. From radu.popescu@aldratech.com Mon Oct 20 22:27:01 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7B7FED1B508 for ; Mon, 20 Oct 2003 22:27:01 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 23847-02 for ; Mon, 20 Oct 2003 19:26:31 -0300 (ADT) Received: from mxc.pcnet.ro (unknown [82.137.11.2]) by svr1.postgresql.org (Postfix) with ESMTP id 274CAD1B4E5 for ; Mon, 20 Oct 2003 19:26:12 -0300 (ADT) Received: from aldratech.com (unassigned-reverse.pcnet.ro [213.154.158.58] (may be forged)) by mxc.pcnet.ro (8.11.6/8.11.6) with ESMTP id h9KMQCj01945 for ; Tue, 21 Oct 2003 01:26:12 +0300 Received: from simonlinux ([192.168.0.6]) by aldratech.com for with eXtremail; Tue, 21 Oct 2003 01:26:13 +3GMT Subject: Re: encrypt function From: Radu-Adrian Popescu Reply-To: radu.popescu@aldratech.com To: Priya G Cc: pgsql-admin@postgresql.org In-Reply-To: References: Content-Type: multipart/alternative; boundary="=-VbdE7/b+0k+wHTD8JgQQ" Organization: Aldratech Ltd. Message-Id: <1066688795.26172.1.camel@rpopescu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Tue, 21 Oct 2003 01:26:36 +0300 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/248 X-Sequence-Number: 10809 --=-VbdE7/b+0k+wHTD8JgQQ Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 --=-VbdE7/b+0k+wHTD8JgQQ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit 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
--=-VbdE7/b+0k+wHTD8JgQQ--