Re: Looking for advice on database encryption - Mailing list pgsql-general

From John R Pierce
Subject Re: Looking for advice on database encryption
Date
Msg-id 49E7CC2F.3050305@hogranch.com
Whole thread Raw
In response to Looking for advice on database encryption  (Bill Moran <wmoran@potentialtech.com>)
Responses Re: Looking for advice on database encryption
List pgsql-general
Eric Soroos wrote:
>> an index on the encrypted SSN field would do this just fine.     if
>> authorized person needs to find the record with a specific SSN, they
>> encrypt that SSN and then look up the ciphertext in the database...
>> done.
>>
>
> This will only work for e(lectronic?) code book ciphers, and not
> chained block ciphers, since the initialization vector will randomize
> the output of the encryption so that E(foo) != E(foo) just to prevent
> this sort of attack.


can those sorts of chained block ciphers decode blocks in a different
order than they were originally encoded?    for this sort of
application, wouldn't each field or record pretty much have to be
encrypted discretely so that they can be decrypted in any order, or any
single record be decrypted on its own?



pgsql-general by date:

Previous
From: "Francisco Figueiredo Jr."
Date:
Subject: Re: need information
Next
From: Bill Moran
Date:
Subject: Re: Looking for advice on database encryption