mdanter/ecc
Pure-PHP elliptic curve cryptography for ECDSA signatures and Diffie-Hellman key exchange. Supports common NIST and secp curves (including secp256k1), deterministic HMAC-based k generation, and constant-time scalar multiplication. Requires GMP.
secp256k1).Adopt When:
Look Elsewhere If:
openssl_* PHP functions) is faster for production workloads.libp2p or tls offer more modern ECC implementations.X25519 for ECDH).For Executives: "This package lets us securely implement cryptographic features (like digital signatures or key exchange) in PHP without relying on native OpenSSL. It’s compliant with NIST standards, reducing audit risks, and avoids the complexity of building cryptography from scratch. Ideal for projects like secure wallets or API authentication where we need ECC but can’t use system-level libraries."
For Engineers:
*"mdanter/ecc provides a pure-PHP ECC library supporting DSA/DH for curves like secp256k1 (Bitcoin) and NIST curves. It’s a drop-in solution for:
How can I help you explore Laravel packages today?