Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Choose a tag to compare

@github-actions github-actions released this 14 Jun 11:11
· 144 commits to main since this release
a880970

Patch Changes

  • 9fd0bf0 Thanks @jxom! - Added ECDH (Elliptic Curve Diffie-Hellman) shared secrets to P256, Secp256k1, and WebCryptoP256 modules. This enables secure key agreement between parties using elliptic curve cryptography for both secp256k1 and secp256r1 (P256) curves, with support for both @noble/curves (for P256 and Secp256k1) implementation and Web Crypto APIs (WebCryptoP256).

    • P256.getSharedSecret
    • Secp256k1.getSharedSecret
    • WebCryptoP256.getSharedSecret
  • 9fd0bf0 Thanks @jxom! - Added createKeyPair helper functions for Bls, P256, and Secp256k1 modules. These functions provide a convenient way to generate complete key pairs (private key + public key) in a single operation, simplifying key generation workflows and reducing the need for separate randomPrivateKey and getPublicKey calls.

  • 9fd0bf0 Thanks @jxom! - Added Ed25519 and X25519 modules. The Ed25519 module provides functionality for creating key pairs, signing messages, and verifying signatures using the Ed25519 signature scheme. The X25519 module enables Elliptic Curve Diffie-Hellman (ECDH) key agreement operations for secure shared secret derivation.