Download the PHP package lliuminate/alltptic without Composer
On this page you can find all versions of the php package lliuminate/alltptic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lliuminate/alltptic
More information about lliuminate/alltptic
Files in lliuminate/alltptic
Package alltptic
Short Description Fast elliptic curve cryptography
License MIT
Homepage https://github.com/simplito/elliptic-php
Informations about the package alltptic
Fast Elliptic Curve Cryptography in PHP
Information
This library is a PHP port of elliptic, a great JavaScript ECC library.
- Supported curve types: Short Weierstrass, Montgomery, Edwards, Twisted Edwards.
- Curve 'presets':
secp256k1
,p192
,p224
,p256
,p384
,p521
,curve25519
,ed25519
.
This software is licensed under the MIT License.
Projects which use Fast ECC PHP library: PrivMX WebMail, ...
Benchmarks
Installation
You can install this library via Composer:
Implementation details
ECDSA is using deterministic k
value generation as per RFC6979. Most of
the curve operations are performed on non-affine coordinates (either projective
or extended), various windowing techniques are used for different cases.
NOTE: curve25519
could not be used for ECDSA, use ed25519
instead.
All operations are performed in reduction context using bn-php.
API
ECDSA
EdDSA
ECDH
NOTE: .derive()
returns a BN instance.
Using EC directly
Use case examples:
Computing public key from private
Verifying Bitcoin Message Signature
Verifying Ethereum Signature
ECDH (secret based, base58 format)
For usage in ed25519 oriented platforms like e.g. BigChainDB who use base58 encoded public / private keys.
BIP32 Public Parent Key -> Public Child Key derivation example
All versions of alltptic with dependencies
guzzlehttp/guzzle Version ^7.2
webman/think-cache Version ^1.0
simplito/bn-php Version ~1.1.0