furqansiddiqui / ecdsa-php
ECDSA (Elliptic Curves) lib for PHP
Installs: 1 151
Dependents: 5
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php-64bit: ^7.4
- ext-bcmath: *
- ext-gmp: *
- ext-openssl: *
- comely-io/data-types: ^1.0.34
README
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.
Prerequisites
- PHP 7.2
- ext-gmp
- ext-bcmath
Installation
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!