feat: updates
This commit is contained in:
@@ -7,7 +7,7 @@ fn main() {
|
|||||||
let private_key_representation = STANDARD.decode(&args[1]).unwrap();
|
let private_key_representation = STANDARD.decode(&args[1]).unwrap();
|
||||||
let epk = hex::decode(&args[2]).unwrap();
|
let epk = hex::decode(&args[2]).unwrap();
|
||||||
|
|
||||||
let shared_secret = private_key_ecdh(&private_key_representation, &epk);
|
let shared_secret = private_key_ecdh(&private_key_representation, &epk).unwrap();
|
||||||
|
|
||||||
println!("{}", hex::encode(&shared_secret));
|
println!("{}", hex::encode(&shared_secret));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user