Skip to content

v0.2.0

Latest

Choose a tag to compare

@drtoxic69 drtoxic69 released this 04 Aug 18:01
· 1 commit to main since this release
v0.2.0
60b4aae

🚀 Feature Release: Elliptic Curve Diffie-Hellman (ECDH)

This release introduces a major new feature: Elliptic Curve Diffie-Hellman (ECDH) key exchange. This allows two parties to securely establish a shared secret over an insecure channel, which can then be used to derive symmetric encryption keys.

✨ New Features

  • ECDH Key Exchange: A new ecdh() method has been added to the PrivateKey class, providing a clean, object-oriented API for performing key agreement.
  • Secure Key Derivation: The shared secret is derived using a standard HMAC-based Key Derivation Function (HKDF) as specified in RFC 5869. This is the industry best practice for turning a raw shared secret into a cryptographically strong key.
  • Fully Tested: The new ECDH implementation is rigorously tested to ensure correctness and that both parties always arrive at the same shared secret.

Full Changelog: v0.1.2...v0.2.0