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?
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?