NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #1540 most downloaded on pub.dev
basic elliptic curves in pure dart
Latest stable
0.4.0
Last release 3 months ago
31 Jul 2026
Ships fairly regularly
a new release about every 9 months
Nearly every release is documented
notes for 16 of 16 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
16 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
SECURITY: scalarMul now uses a Montgomery ladder (one addition and one doubling per scalar bit, exchanged with a branch-free conditional swap) so the
scalarMul now uses a Montgomery ladder (one addition and one
doubling per scalar bit, exchanged with a branch-free conditional swap) so the
execution shape no longer depends on secret scalar bits. Dart BigInt
arithmetic itself remains variable-time.compressedHexToPublicKey computes the modular square root with
Tonelli–Shanks, fixing decoding for curves with p ≡ 1 (mod 4)
(secp224r1/secp224k1), and validates x < p and the recovered root.generatePrivateKey: remove a leftover test-only byte mutation and
zero-pad the range-check reconstruction.SECURITY FIX: Add point validation to prevent invalid elliptic curve points from being used in ECDH
PublicKey constructors now validate that points are on the curvecomputeSecret() validates public key points before ECDH computationErrPointNotOnCurve exception for invalid pointsYour coding agent can read these notes before it upgrades. Set up the MCP server →
fix EllipticException equality operator warn
- Add the PEM example to README
Change sdk to ">=2.12.0 <4.0.0"
Support any a(alpha) value in curve
- Fix ecdh computeSecret
- Fix ecdh
Add EllipticException for better error handling
- Fix hex, Enhance hex - Enhance bigint calc - Add tests for hex
Fix bug on generating compressed hex
- Add ecdh library
Add support to koblitz curves (secp256k1 & secp224k1)
New abstract class curve for secp256k1 etc in https://www.secg.org/sec2-v2.pdf
Add utils to PublicKey and PrivateKey
Initial version, created by Stagehand
One column per quarter.