Skip to content

'randbits' #11

@falcon141

Description

@falcon141

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions