elliptic
elliptic copied to clipboard
Fast Elliptic Curve Cryptography in plain javascript
Hi, I am signing a text with the following code: ` const privateKey: string = 'private-key-here'; const textToBeSigned: string = 'text-here'; const EC = require('elliptic').ec; const ec = new EC('secp256k1');...
Hello all, I'm writing a basic program to get the public key from a private key using this code: `return ec.keyFromPrivate(privateKey).getPublic('hex')` Where the privateKey is: 88575082256327777067088293295661531980671099272597078688043162004071352566123 To my knowledge, inputting...
https://github.com/indutny/elliptic/blob/43ac7f230069bd1575e1e4a58394a512303ba803/package.json#L47-L55 I suggest to switch to developed and audited projects: - `bn.js` can be dropped, in favor of native bigints, which have been supported everywhere for a long time -...
Trying to instantiate a Signature object, e.g. like it's done [here](https://github.com/indutny/elliptic/blob/43ac7f230069bd1575e1e4a58394a512303ba803/test/ecdsa-test.js#L494). ``` import { ec } from "elliptic"; import Signature = ec.Signature; console.log(new Signature({r: '00', s: '00'})) ``` [test-elliptic.zip](https://github.com/indutny/elliptic/files/11119105/test-elliptic.zip) Getting...
IIUC, [above function](https://github.com/indutny/elliptic/blob/43ac7f230069bd1575e1e4a58394a512303ba803/lib/elliptic/ec/key.js#L20) is used to recover a full public key from its compressed variant. It returns a `KeyPair`. I could not find any particular docs on this type, so...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
Hi, I had added ppc64le support on Travis-ci and Its been success added and build. Kindly review and merge same. Changes done are added ppc64le arch. The Travis ci build...
Add a license file so that programmatic license search becomes easier.
fix typo