Registry / crypto / mdanter-ecc

mdanter-ecc

JSON →
library1.0.0phppackagistunverified

PHP Elliptic Curve Cryptography library for generating and verifying ECDSA signatures.

composer require mdanter/ecc
INSTALL
IMPORT
SIG · MDANTER-ECC
M
mdanter-ecc
cryptophpv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EccFactory
use Mdanter\Ecc\EccFactory;

Generate a private key using NIST P-256 curve.

use Mdanter\Ecc\EccFactory; $adapter = EccFactory::getAdapter(); $generator = EccFactory::getNistCurves()->generator256(); $privateKey = $generator->createPrivateKey(); echo $privateKey->getSecret()->toString();
Debug
Known issues
breakingRequires PHP 7.2+ and GMP or BCMath extension.
fix
Install php-gmp or php-bcmath extension.
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
23
Resources
mdanter-ecc — pip install mdanter-ecc · libregistry