Browse Source
Signing a message with ECDSA involves using a random number, and this means that two signatures should never be the same. This commit adds some basic tests to Key.signSync and Message.sign to make sure this is the case. Also, a new bitcore.Key should never have the same private key twice. This commit also adds a basic test to make sure that is the case.patch-2
Ryan X. Charles
11 years ago
2 changed files with 27 additions and 0 deletions
Loading…
Reference in new issue