https://github.com/oliverkovacs/haastad
Zero dependency implementation of Håstad’s broadcast attack on RSA.
https://github.com/oliverkovacs/haastad
cryptography ctf python rsa
Last synced: 3 months ago
JSON representation
Zero dependency implementation of Håstad’s broadcast attack on RSA.
- Host: GitHub
- URL: https://github.com/oliverkovacs/haastad
- Owner: OliverKovacs
- License: mit
- Created: 2023-12-18T08:06:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-18T18:06:06.000Z (over 1 year ago)
- Last Synced: 2025-01-22T08:33:16.706Z (4 months ago)
- Topics: cryptography, ctf, python, rsa
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Håstad
Zero dependency implementation of [Håstad's broadcast attack](https://en.wikipedia.org/wiki/Coppersmith%27s_attack#H%C3%A5stad's_broadcast_attack) on [RSA](https://en.wikipedia.org/wiki/RSA_(cryptosystem)).
## Usage
```sh
# encrypt
python encrypt.py ""# decrypt
python haastad.py
```