commit b6a819871911ae0720facad4574f2e4eed9b55f7
parent d7ba2ade4b8c3224a706effe251cc2f575cefa81
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sat, 12 Mar 2022 05:06:45 +0100
xor, not concatenation
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml
@@ -2044,8 +2044,9 @@ gnunet+tcp://12.3.4.5/ \
To filter results of HELLO blocks
using the result Bloom filter, the
<tt>H_ADDRS</tt> field (as computed using SHA-512 over
- the <tt>ADDRESSES</tt>) is concatenated with the mutator.
- The resulting value is then hashed into the
+ the <tt>ADDRESSES</tt>) is XORed with the SHA-512
+ hash of the mutator (in network byte order).
+ The resulting value is then used when hashing into the
result Bloom filter. Consequently, HELLOs with
completely identical sets of addresses will be
filtered, but any small variation in the set of