Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Cryptography.Fernet Decryption Problem

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?
(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 ¸„»°'´`'°«„¸`'°«„¸¸„»°'´


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by ektoblastNov 13, 2018 09:19 AM 4 264 Nov 13, 2018 09:19 AM
Last Post: ektoblast
[.NET] by iLogic™May 25, 2016 09:00 AM 8 267 May 25, 2016 09:00 AM
Last Post: iLogic™
[Python] by SaegonFeb 16, 2015 06:07 AM 1 190 Feb 16, 2015 06:07 AM
Last Post: Shiv