Re: Encrypt data type LO

From: James Robinson <jlrobins(at)socialserve(dot)com>
To: <alberto(dot)pina(at)kebir(dot)com(dot)mx> <alberto(dot)pina(at)kebir(dot)com(dot)mx>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Encrypt data type LO
Date: 2004-11-24 16:34:58
Message-ID: C7FE3E35-3E36-11D9-B4DF-000A9566A412@socialserve.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

We do all of our encryption in the middleware:

1) translate our data which requires encryption into an XML string
2) compress + encrypt, yielding byte [].
3) Store byte [] as a bytea column.

The resulting byte arrays are relatively small in our case (1 -> 3K),
so bytea has seemed to suit us just fine.

----
James Robinson
Socialserve.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kenneth Marshall 2004-11-24 16:43:53 Re: [Testperf-general] Re: ExclusiveLock
Previous Message Tom Lane 2004-11-24 16:25:47 Re: valgrind complaints in pgstat_write_statsfile