I was trying to implement this video in Python 3
But the issue is that, it was implemented in Python 2
So I tried to implement this with binascii instead of encode/decode. However I keep getting a binascii.Error: Odd-length string at line 22.
How to I correct this? Or if this is completely broken, then is there any other libraries that work better for python 3?