ECDSA (Elliptic Curves) lib for PHP

0.2.1 2020-11-22 22:25 UTC

This package is auto-updated.

Last update: 2021-01-22 22:52:28 UTC


This lib is provided WITHOUT warranty of any kind, use it at your own risk.

ECDSA lib for PHP

This lib is designed to perform all ECC calculations and operations for my furqansiddiqui/bitcoin-php lib.


  • PHP 7.2
  • ext-gmp
  • ext-bcmath


composer require furqansiddiqui/ecdsa-php

Change Log (>0.2.x)

From v0.2.x and onwards I have dropped all previous ECC curves (Secp256k1 via BcMath and Secp256k1 via OpenSSL) in favour of GMP. BcMath provided to be extremely slow as compared to GMP while performing ECC calculations. In fact, most of the code for ECC ops via GMP is taken from BitcoinECDSA.php lib, so all appreciations, kudos and thanks goes to developers and contributors over there!