elliptic icon indicating copy to clipboard operation
elliptic copied to clipboard

Fast Elliptic Curve Cryptography in plain javascript

Results 103 elliptic issues
Sort by recently updated
recently updated
newest added

When calling `recoverPubKey` with an invalid `s` (i.e. `0`), it returns a public key. The same signature fails with `verify`, as `1 >= s >= n-1`. This doesn't immediately sound...

I see it is possible to instantiate a curve by with an already-supported parameters, e.g. `new EC('secp256k1')` Is there a way to use custom parameters? I would be interested in...

Hi, I am having a compatibility issue with another library, similar to Issue #198 . The shared key obtained isn't the expected one. So, in order to determine which one...

How to verify something like this? PHP ``` $privkey = "-----BEGIN EC PRIVATE KEY----- MHQCAQEEIElP6IpLbE3Jd7KdBjlHtgtJfcZ94/OEkCoIsl/iV8q8oAcGBSuBBAAK oUQDQgAECQ5QVzipmVe7SUco3rzOgvaO+f70wN5jVVHDK2bSVY1OV3OCW0UZmSjU az/p1DNMYv9tcjPUuPwf+eCtxXSepg== -----END EC PRIVATE KEY----- "; openssl_sign(bin2hex($data), $sign, $privkey, OPENSSL_ALGO_SHA256); $sign = base64_encode($sign); ```...

Hi, ``` var keyPair = ec.keyFromPrivate(k); var priv = keyPair.getPrivate("hex"); var pubKey = keyPair.getPublic(); var p = pubKey.encodeCompressed("hex"); ``` How do I get the public addresses (comp and uncomp) or...

```typescript import * as elliptic from 'elliptic'; const ec = new elliptic.ec('curve25519'); const privateKey = ec.keyFromPrivate('0843f2237a9597939c62512ab405e1d92838044b757e1395dbc8e3deeb4e9f9c', 'hex'); /* It is converted as below. (See You can check it through https://lapo.it/asn1js/...

not found solution for save key (private and public key) in pem or other format wy not key.save or key.load ? regards

Hey, thanks for the lib. I'm struggling to import a private key generated by this lib with `crypto.subtle.importKey`. It accepts an ArrayBuffer for example, but I haven't been able to...

Bumps [grunt](https://github.com/gruntjs/grunt) from 1.3.0 to 1.5.3. Release notes Sourced from grunt's releases. v1.5.3 Merge pull request #1745 from gruntjs/fix-copy-op 572d79b Patch up race condition in symlink copying. 58016ff Merge pull...

dependencies