On Thu, May 29, 2014 at 2:52 PM, Michai Ramakers <m.ramak...@gmail.com>
wrote:

>
> I was thinking the resulting encrypted repo would change a lot, when
> only certain blocks in the unencrypted repo change. Would this not be
> so?
>

When encrypting the file, you should be doing the encryption in CBC mode.
In that case, any change will affect all the subsequent cipher text. In
fact, each time you encrypt, you should use a different Initialization
Vector (IV), which will result in the entire cipher text being different.

It is possible to encrypting using ECB mode, which will only affect the
cipher text around each change, but is extremely insecure. Counter Mode is
another option, but is still very insecure.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to