diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-03-12 05:06:45 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-03-12 05:06:45 +0100 |
commit | b6a819871911ae0720facad4574f2e4eed9b55f7 (patch) | |
tree | 7d6d128ccfd932d58ce2b78a6387dfef0fbf1da4 | |
parent | d7ba2ade4b8c3224a706effe251cc2f575cefa81 (diff) | |
download | lsd0004-b6a819871911ae0720facad4574f2e4eed9b55f7.tar.gz lsd0004-b6a819871911ae0720facad4574f2e4eed9b55f7.zip |
xor, not concatenation
-rw-r--r-- | draft-schanzen-r5n.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml index 65dc78f..9719af5 100644 --- a/draft-schanzen-r5n.xml +++ b/draft-schanzen-r5n.xml | |||
@@ -2044,8 +2044,9 @@ gnunet+tcp://12.3.4.5/ \ | |||
2044 | To filter results of HELLO blocks | 2044 | To filter results of HELLO blocks |
2045 | using the result Bloom filter, the | 2045 | using the result Bloom filter, the |
2046 | <tt>H_ADDRS</tt> field (as computed using SHA-512 over | 2046 | <tt>H_ADDRS</tt> field (as computed using SHA-512 over |
2047 | the <tt>ADDRESSES</tt>) is concatenated with the mutator. | 2047 | the <tt>ADDRESSES</tt>) is XORed with the SHA-512 |
2048 | The resulting value is then hashed into the | 2048 | hash of the mutator (in network byte order). |
2049 | The resulting value is then used when hashing into the | ||
2049 | result Bloom filter. Consequently, HELLOs with | 2050 | result Bloom filter. Consequently, HELLOs with |
2050 | completely identical sets of addresses will be | 2051 | completely identical sets of addresses will be |
2051 | filtered, but any small variation in the set of | 2052 | filtered, but any small variation in the set of |