27 lines
742 B
Markdown
27 lines
742 B
Markdown
# RSA Project
|
|
|
|
Developed by Price Hiller (zfp106). This project is an insecure implementation of RSA in C. **DO NOT USE THIS FOR ANYTHING IN PRODUCTION, YOU WILL GET BIT**.
|
|
|
|
## Building
|
|
|
|
### Standard Way
|
|
|
|
Requires `gcc` and `gnumake`. Run `make build` to build the project.
|
|
|
|
### Nix Way
|
|
|
|
If you're a big fan of [nix](https://nixos.org/), you can use the provided `flake.nix` to build the project.
|
|
|
|
Simply run `nix build` to build the project and `nix run` to run the project.
|
|
|
|
## Screenshots
|
|
|
|
### Providing our own `p` and `q` values
|
|
|
|
|
|
![Example with choosing our own p and q values](assets/rsa-run-chosen-keys.png)
|
|
|
|
### Allowing `p` and `q` to be randomly generated
|
|
|
|
![Example with generating random keys.](./assets/rsa-run-random-keys.png)
|