ecdsa-quirks
v0.1.3
Published
Generate the same ECDSA signature for two different messages
Readme
ECDSA Quirks
A simple command line tool to generate the same ECDSA signature for two different messages.
Install
npm install -g ecdsa-quirksHow to use
To generate the signatures, run:
ecdsa-quirks --m1 "<some message>" --m2 "<some other message>" [--eip191]The tool will log the private key and generated signatures via that private key that are the same for the specified messages.
[!CAUTION] If both messages (or their hashes) with the signature are disclosed, anyone can reconstruct the private key. Be extremely cautious.
Disclaimer
The implementation is based on this research paper. Please check it out to understand the math behind.
