btcpy
btcpy copied to clipboard
PrivateKey generation from entropy
Created a @staticmethod in the PrivateKey
class called generate that creates a PrivateKey, which is a random hexadecimal string with nbytes
bytes, using python's secrets standard module. A corresponding unit test is added.
Please let me know if the pull request meets the requirement, or there are any suggested changes.
Thank you!
#31
Hi @SimoneBronzini I have made the change you mentioned and pushed the commit. May you have a look and let me know if that's OK? Thanks!