Thread: CRYPT / DECRYPT in bytea field

CRYPT / DECRYPT in bytea field

From
Victor Hugo
Date:
Gentlemen, I need a help ..

I have a table X in a bytea field and this field stores images, I need
to save that image and cryptogram qnd I am displaying the information
I need to decrypt this file, could someone help??

--
[]´s
Victor Hugo

Re: CRYPT / DECRYPT in bytea field

From
"Kevin Grittner"
Date:
Victor Hugo <vh.clemente@gmail.com> wrote:

> I have a table X in a bytea field and this field stores images, I
need
> to save that image and cryptogram qnd I am displaying the
information
> I need to decrypt this file, could someone help??

http://www.postgresql.org/docs/8.4/interactive/encryption-options.html

http://www.postgresql.org/docs/8.4/interactive/pgcrypto.html

-Kevin