#ecdsa #attack #education #security

attack-on-ecdsa

Educational Rust implementation of ECDSA cryptographic attacks (research and learning purposes only)

1 unstable release

Uses new Rust 2024

0.1.0 Dec 18, 2025

#1805 in Cryptography

Apache-2.0 and LGPL-3.0+

7KB
79 lines

Educational crate: attack-on-ecdsa

⚠️ For research and educational purposes only.


attack-on-ecdsa

Educational Rust crate demonstrating classical attacks against ECDSA when cryptographic assumptions are violated (e.g. nonce reuse).

⚠️ Disclaimer

This crate is for educational and research purposes only. Do NOT use in production systems.

Features

  • ECDSA key generation
  • Signature simulation
  • Private key recovery attacks

Example

use attack_on_ecdsa::break_ecdsa::recover_private_key;

Dependencies

~8MB
~119K SLoC