https://github.com/willdunklin/elgamal
Implementation of elliptic curve elgamal cryptography in Python (coursework)
https://github.com/willdunklin/elgamal
cryptography
Last synced: 27 days ago
JSON representation
Implementation of elliptic curve elgamal cryptography in Python (coursework)
- Host: GitHub
- URL: https://github.com/willdunklin/elgamal
- Owner: willdunklin
- Created: 2023-03-05T15:32:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-16T15:53:36.000Z (about 3 years ago)
- Last Synced: 2025-03-05T01:45:09.286Z (over 1 year ago)
- Topics: cryptography
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elgamal
Basic implementation of naive ElGamal cryptosystem.
## Usage
```shell
# Help
$ python3.9 main.py -h
# Generate crypto keys
$ python3.9 main.py elgamal gen_keys
# Encrypt file
$ python3.9 main.py elgamal gen_keys
# Decrypt file
$ python3.9 main.py elgamal decrypt
```