feat: updates

This commit is contained in:
2025-03-23 23:26:51 +08:00
parent ea21b9d225
commit cb2ac74ce7

View File

@@ -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));
} }