[tahoe-dev] proposal: add padding

Zooko O'Whielacronx zookog at gmail.com
Wed Jul 10 14:06:36 UTC 2013


On Tue, Jul 9, 2013 at 9:53 AM, Iraklis . <leontiad at gmail.com> wrote:
> That would destroy any dedup service if different random bytes are appended. Even if the same number of random bytes are appended for equivalent encryption keys. Or i am missing sth?

Hello, Iraklis! Good to hear from you.

Let's make all pad bytes be "0" before encryption. They will be
encrypted along with the file bytes.

Therefore, as long as the same number of padding bytes are appended
whenever the encryption key is the same, then the dedup (convergent
encryption) property is preserved.

Right?

Regards,

Zooko


More information about the tahoe-dev mailing list