Re: Simple Text Field Encryption

From: Bruce Hyatt <brucejhyatt(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org, gcj <gauss21(at)comcast(dot)net>
Subject: Re: Simple Text Field Encryption
Date: 2008-10-23 17:16:58
Message-ID: 406138.52368.qm@web34403.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

--- On Tue, 10/21/08, gcj <gauss21(at)comcast(dot)net> wrote:

> From: gcj <gauss21(at)comcast(dot)net>
> Subject: [NOVICE] Simple Text Field Encryption
> To: pgsql-novice(at)postgresql(dot)org
> Date: Tuesday, October 21, 2008, 1:11 PM
> I'm looking for a simple way to encrypt the contents of
> a text field in one
> of my Postgres tables. I'm not looking for anything
> that is bullet-proof --
> just something that would mask the field's contents
> from a casual user
> looking at the table via pgAdminIII or any other client
> application / query.
>
> I'm hoping there is a built-in Postgres function that I
> could call from my
> java web application to encrypt/mask a text string and then
> store the
> encrypted value in the DB. Thereafter, I would be able to
> query the
> encrypted field, de-crypt back to the original value, etc.

Since you're using java, maybe there's a way to use a JPasswordField object?

Bruce

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Damian Carey 2008-10-23 20:38:53 Re: Simple Text Field Encryption
Previous Message Daniel Malcolm Webb [dbw] 2008-10-22 14:08:52 Re: FW: Dumping a query result to a table