Optimised sent Fernet token data.

This commit is contained in:
Mark Qvist 2021-09-02 18:42:17 +02:00
parent e9c89209c7
commit 9562803bb3
1 changed files with 0 additions and 1 deletions

View File

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