mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-23 06:00:18 +00:00
Optimised sent Fernet token data.
This commit is contained in:
parent
e9c89209c7
commit
9562803bb3
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user