![]() |
|
[Python] Cryptography.Fernet Decryption Problem - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Cryptography.Fernet Decryption Problem (/showthread.php?tid=6160044) |
Cryptography.Fernet Decryption Problem - zogra - Jun 22, 2021 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? RE: Cryptography.Fernet Decryption Problem - tsuki - Jun 23, 2021 (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? RE: Cryptography.Fernet Decryption Problem - zogra - Jun 24, 2021 (Jun 23, 2021 05:13 AM)tsuki Wrote: Can you show the code? nevermind I resolved it thanks for trying yo help RE: Cryptography.Fernet Decryption Problem - vorticalbox - Jul 6, 2021 (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 |