Inserting an Encrypted file into DB

From: Smita Vijayakumar <smita(dot)vijayakumar(at)globallogic(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: Inserting an Encrypted file into DB
Date: 2007-10-10 10:48:59
Message-ID: 1192013339.14053.37.camel@smita.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Hi,
I want to put into the postgres DB, a file which is an encrypted file
(say, the PKCS# files).
I have used a bytea column for storing this file. So the operations with
regard to the file at my end are:
Filesystem ----> DB ------> Filesystem
What I need to know is:
1. Is there any information loss when the file is being transferred from
the filesystem to the DB?
2. If the answer is no, then does that mean that when the stream is
received from the DB, the file is an exact copy of the file which
existed? If so, the reverse key should be able to successfully decode
the stream received from the DB.

Kindly answer my query.
Thanks!

Smita

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2007-10-10 10:49:38 Re: Skytools committed without hackers discussion/review
Previous Message Simon Riggs 2007-10-10 10:25:02 Re: Skytools committed without hackers discussion/review