Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 1537

Can't Decrypt Bytes Tuple Because Not In Bytes Format (?)

by Planet - 22 June, 2021 - 04:52 PM
This post is by a banned member (Planet) - Unhide
Planet  
Heaven
2.537
Posts
829
Threads
4 Years of service
#1
Ok so I'm making a password manager so I got these encrypted emails and password in a local database.db the problem is when I want to decrypt the emails and password to display them into the console (using cryptography.Fernet) I get an error saying the token must be bytes, now the fact is that if I print the encrypted emails and passwords to the console I get tuplse wich are alredy in bytes since they are formatted like this (b'encrypted-emails-here'), (b'encrypted-emails-here) and so on

any help would be appreciatedPepelove
This post is by a banned member (PayByte) - Unhide
PayByte  
Supreme
49
Posts
13
Threads
5 Years of service
#2
Can you give me more details? And some examples.
This post is by a banned member (Planet) - Unhide
Planet  
Heaven
2.537
Posts
829
Threads
4 Years of service
#3
(22 June, 2021 - 11:41 PM)MohanadHosny Wrote: Show More
Can you give me more details? And some examples.

rn I'm in bed maybe I found a fix thanks to a guy on stackoverflow if I still need help I'll let you knowPepelove

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)