print the private key
This commit is contained in:
parent
ac794fbae7
commit
88ab4b93d3
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ impl RSA {
|
||||||
|
|
||||||
info!("Generated RSA key pair of {} bits", key_size);
|
info!("Generated RSA key pair of {} bits", key_size);
|
||||||
info!("Public key (n,e): ({}, {})", n, e);
|
info!("Public key (n,e): ({}, {})", n, e);
|
||||||
|
info!("Private key (n,d): ({}, {})", n, d);
|
||||||
|
|
||||||
RSA { n, e, d }
|
RSA { n, e, d }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue