blocksmith icon indicating copy to clipboard operation
blocksmith copied to clipboard

'randbits'

Open falcon141 opened this issue 4 years ago • 0 comments

AttributeError: 'module' object has no attribute 'randbits'

kg = blocksmith.KeyGenerator()                                File "/usr/local/lib/python2.7/dist-packages/blocksmith/generator.py", line 13, in __init__
self.__init_pool()

File "/usr/local/lib/python2.7/dist-packages/blocksmith/generator.py", line 33, in __init_pool random_byte = secrets.randbits(8) AttributeError: 'module' object has no attribute 'randbits'

falcon141 avatar Jun 17 '21 15:06 falcon141