Cryptography Fernet Invalid Token
I am trying in Python Django to create a system for encrypting and decrypting messages. Does anyone know why I get an error every time I try to read a message: “The encrypted message is invalid and cannot be decrypted”. Below is my code: