On 10/12/06, Tom Lane <[EMAIL PROTECTED]> wrote:
Weslee Bilodeau <[EMAIL PROTECTED]> writes:
> It works perfectly so long as I used the same key for all my custom
> types. When I want a different key for each type though (so for example,
> encrypt credit cards with one key, addresses with another, etc) I need a
> way to tell them apart.

[ shrug... ]  Seems like you should be putting the key ID into the
stored encrypted datums, then.

The PGP functions happen to do it already - pgp_key_id().


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?


Reply via email to