From 1e4dd9d6f0f68c41f2996045b81010891d69cc69 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 4 Oct 2022 22:40:43 +0200 Subject: [PATCH] Added note --- RNS/Destination.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RNS/Destination.py b/RNS/Destination.py index 2b3447e..190a4f4 100755 --- a/RNS/Destination.py +++ b/RNS/Destination.py @@ -185,6 +185,8 @@ class Destination: if isinstance(returned_app_data, bytes): app_data = returned_app_data + # TODO: It is probably possible truncate the name_hash to 16 bytes to + # save bandwidth without any practical impact on collision resistance signed_data = self.hash+self.identity.get_public_key()+self.name_hash+random_hash if app_data != None: signed_data += app_data