commit 97d304696333ad9b25d52e7cd9e02e7e2eee6f64 parent 65426c4dfc99f803c00d3c7bdbccdfc7f38fb19c Author: sin <sin@2f30.org> Date: Mon, 20 May 2019 13:16:25 +0300 Update DESIGN Diffstat:
M | DESIGN | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/DESIGN b/DESIGN @@ -59,4 +59,9 @@ config.h but it can be tricky to tune it properly. The buzhash[0] rolling hash algorithm is used to fingerprint the input stream. +When encryption is enabled, a random seed is generated and stored +encrypted in the repository state file. The seed is XOR-ed with the +buzhash initial state table to mitigate against length fingerprinting +attacks. + [0] http://www.serve.net/buz/Notes.1st.year/HTML/C6/rand.012.html