Optimised sent Fernet token data.

This commit is contained in:
Mark Qvist 2021-09-02 18:42:17 +02:00
parent e9c89209c7
commit 9562803bb3

View File

@ -715,7 +715,6 @@ class Link:
# bytes from the timestamp field and reinsert those as
# 0x00 when received.
ciphertext = base64.urlsafe_b64decode(self.fernet.encrypt(plaintext))[3:]
RNS.log("FTKN: "+RNS.hexrep(ciphertext))
return ciphertext
except Exception as e: