OpenSig / opensig-btc-lib

Blockchain e-sign library
MIT License
4 stars 2 forks source link

Hashing algorithm does not ensure the hash is a valid ECDSA private key #4

Closed dnpotter closed 8 years ago

dnpotter commented 8 years ago

Change sha256 to append zero bytes to the data if the key is not valid, and continue to do so until a valid key is found.