An Example ECDH Key Exchange with HKDF and Authenticated Encryption in Rust
I recently created an example project which implements an ephemeral key exchange between a client and server over TCP. The program uses the Ring cryptography library to compute a shared secret using the X25519 algorithm. Two session keys are derived from the output of the key exchange using HKDF and… Read More »An Example ECDH Key Exchange with HKDF and Authenticated Encryption in Rust