PKGenerator_Checker icon indicating copy to clipboard operation
PKGenerator_Checker copied to clipboard

Issue when executing the script

Open thebest8815 opened this issue 4 years ago • 1 comments

When I execute the code, it shows the following:

C:\Users\Mike\Documents\Fun\PKGenerator_Checker>python PkMaker.py Traceback (most recent call last): File "PkMaker.py", line 65, in pk = os.urandom(32).encode("hex") AttributeError: 'bytes' object has no attribute 'encode'

Any idea?

thebest8815 avatar Sep 18 '20 16:09 thebest8815

yeah this was happening because you were attempting to run this using python3. I've decided to dust off the ole script and update it to python 3 as well. Took more time than I expected, but it was fun. Hope you like it!

Frankenmint avatar Sep 21 '20 06:09 Frankenmint