I am trying to decrypt some emails and password on a local SQLite db to make a password manager the problem is when I try to decrypt the emails (for example) I get 'token must be in bytes' even to if I try to print the encrypted emails to the console I get (b'encrypted-emails-here') so i think it's alredy in bytes format any suggetstion?
|
Python
Cryptography.Fernet Decryption Problem |
(Jun 22, 2021 07:35 AM)zogra Wrote: I am trying to decrypt some emails and password on a local SQLite db to make a password manager the problem is when I try to decrypt the emails (for example) I get 'token must be in bytes' even to if I try to print the encrypted emails to the console I get (b'encrypted-emails-here') so i think it's alredy in bytes format any suggetstion? Can you show the code? (Jun 23, 2021 05:13 AM)tsuki Wrote: Can you show the code? nevermind I resolved it thanks for trying yo help (Jun 24, 2021 04:34 AM)zogra Wrote: nevermind I resolved it thanks for trying yo help You should post your solution so other people can see when they search for this problem ¸„»°'´¸„»°'´Vorticalbox `'°«„¸`'°«„¸ `'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est ¸„»°'´`'°«„¸`'°«„¸¸„»°'´ |
|
|

