print the private key

This commit is contained in:
Andrea Moro 2024-11-10 15:29:11 +01:00
parent ac794fbae7
commit 88ab4b93d3

View file

@ -35,6 +35,7 @@ impl RSA {
info!("Generated RSA key pair of {} bits", key_size);
info!("Public key (n,e): ({}, {})", n, e);
info!("Private key (n,d): ({}, {})", n, d);
RSA { n, e, d }
}