RSA Implementation in Rust
Find a file
2024-11-12 12:38:32 +01:00
src Add Error when logging errors 2024-11-12 12:38:32 +01:00
.gitignore Initialize RSA encryption/decryption project with basic functionality and dependencies 2024-11-06 13:08:02 +01:00
Cargo.lock Refactor RSA key generation to use num-primes for random prime generation and update dependencies 2024-11-06 13:31:13 +01:00
Cargo.toml Refactor RSA key generation to use num-primes for random prime generation and update dependencies 2024-11-06 13:31:13 +01:00
README.md Add README.md with project description and usage instructions 2024-11-11 14:34:49 +01:00

RSA Generator in Rust

RSA Generator written in Rust for TPSIT

Libraries used

colog = "1.3.0" -> Better logging
log = "0.4.22" -> Base logging library
num-bigint = { version = "0.4.6", features = ["rand"] } -> BigInt type + BigInt Random Generator
num-traits = "0.2.19" -> Used for conversions
num-primes = "0.3" -> Library used for generating prime numbers
rand = "0.8" -> Random base library

Usage

  1. Clone repo
  2. Either use cargo run or cargo build
  3. Run the code
  4. Cheers!