Refactor RSA key generation to use num-primes for random prime generation and update dependencies

This commit is contained in:
Bildcraft1 2024-11-06 13:31:13 +01:00
parent 6a45d31aaf
commit ac794fbae7
3 changed files with 173 additions and 18 deletions

View file

@ -8,4 +8,5 @@ colog = "1.3.0"
log = "0.4.22"
num-bigint = { version = "0.4.6", features = ["rand"] }
num-traits = "0.2.19"
rand = "0.8.5"
num-primes = "0.3"
rand = "0.8"