Trim Original message log
This commit is contained in:
parent
88ab4b93d3
commit
9067538985
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ fn main() {
|
||||||
|
|
||||||
let rsa = RSA::new(1024);
|
let rsa = RSA::new(1024);
|
||||||
|
|
||||||
info!("Original: {}", message);
|
info!("Original: {}", message.trim());
|
||||||
|
|
||||||
let encrypted = rsa.encrypt(&message);
|
let encrypted = rsa.encrypt(&message);
|
||||||
info!("Encrypted: {:?}", encrypted);
|
info!("Encrypted: {:?}", encrypted);
|
||||||
|
|
Loading…
Add table
Reference in a new issue