mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-21 12:28:12 -04:00
Optimised sent Fernet token data.
This commit is contained in:
parent
cd8de64201
commit
e9c89209c7
2 changed files with 13 additions and 3 deletions
|
@ -35,7 +35,7 @@ class Identity:
|
|||
|
||||
# Non-configurable constants
|
||||
FERNET_VERSION = 0x80
|
||||
FERNET_OVERHEAD = 57 # In bytes
|
||||
FERNET_OVERHEAD = 54 # In bytes
|
||||
AES128_BLOCKSIZE = 16 # In bytes
|
||||
HASHLENGTH = 256 # In bits
|
||||
SIGLENGTH = KEYSIZE # In bits
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue