elliptic-php
elliptic-php copied to clipboard
Fast, general Elliptic Curve Cryptography library. Supports curves used in Bitcoin, Ethereum and other cryptocurrencies (secp256k1, ed25519, ..)
Thank the author for his selfless dedication. I'm a rookie. I want to know how to use this library to generate EOS private key and EOS signature. Can you give...
HI, Is it possible to recover ethereum PubKey from raw transaction using this lib/scripts, like in function elliptic.ec.prototype.recoverPubKey (msg, signature, j, enc) ?
I am trying to verify the signature, but I got the error: Cannot initialize. Here is my code: public static function verifySignature($hash, $signature, $address) { try { $sign = [...
I'm trying to define and work with an ordinary Edwards curve, but it seems like there's an error in the implementation of the math for ordinary Edwards curves (in comparison,...
It shows me this error when i run this code: ```
Hi, I would like to use AdMobs SSV in Php, I've already found a lib for Go and Python, however I need it for Php and there is none unfortunetly...
I`ve [decided to compare](https://github.com/simplito/elliptic-php/issues/2) basic calculation of public key based on private key against [Curve25519](https://github.com/mgp25/curve25519-php): ``` $secureRandom = openssl_random_pseudo_bytes ( 32); // native curve25519.so $trusty_private = curve25519_private($secureRandom); $trusty_public = curve25519_public($trusty_private);...
Hi! [Project Wycheproof](https://github.com/google/wycheproof) provides thousands of [test vectors](https://github.com/google/wycheproof/tree/master/testvectors) that have uncovered a lot of bugs in popular crypto libraries. Have you considered running it against this library? Thanks!
I am trying to verify the signature of a hashed message, and the method used in the description doesn't return the right address : ```php function verifySignature($message, $signature, $address) {...
If you talking about [this](https://eklitzke.org/bitcoin-transaction-malleability) and forcing to use smaller s value in signature, we do not have it, because our lib is strict elliptic math, without implementation focused on...