Might be able to make use of something similar to the following to get around this but I'm not sure about backwards compatability. ``` print ''.join('{:02x}'.format(x) for x in os.urandom(40)) ``` From: https://stackoverflow.com/questions/19210414/byte-array-to-hex-string