elliptic
elliptic copied to clipboard
Fast Elliptic Curve Cryptography in plain javascript
This is continuation of #217 from 2 years ago. It is possible to improve supply chain security of Elliptic. [noble-secp256k1](https://github.com/paulmillr/noble-secp256k1): 1. Is ~1000 lines of code, has 0 dependencies 2....
This is working and I am able to retrieve the original message. ``` const wallet = ethers.Wallet.createRandom() const keys = wallet._signingKey() const pubKey = keys.publicKey.substr(4,keys.publicKey.length) const prvKey = keys.privateKey.substr(2,keys.publicKey.length) const...
I found cdn -> https://unpkg.com/[email protected]/lib/elliptic.js
This PR includes `decodePoint` method according to the specification: https://tools.ietf.org/html/rfc8032#section-5.1.3 > If the resulting value is >= p, decoding fails. There are some tests, if needed more tests can be...
I installed a package that requires elliptic package. In the code, I found that it got error at EC constructor ``` new EC('p256');```
Hi there I'm new here, hope this is the right place to raise an issue. I am using this lib for a node.js backend project (no browser involved), but when...
Hello. I'm experimenting the EdDSA but I'm facing a issue. In the documentation it's mentioned than the data should be a hash, but if so, the signature is incorrect. Because...
I am running into a strange case, which I am not sure if it is me that has done something wrong of this is a bug in the lib. I...
What's important in this (allegedly security) update is the commit [441b742](https://github.com/indutny/elliptic/commit/441b7428b0e8f6636c42118ad2aaa186d3c34c3f): `ec: validate that a point before deriving keys` ``` This update checks to make sure that the public key...
Reproducer using Botan: ```cpp #include #include #include #include static void PrivToPub(const std::string curve) { static ::Botan::System_RNG rng; const ::Botan::EC_Group group(curve); const ::Botan::BigInt priv_bn("12345"); const auto priv = std::make_unique(::Botan::ECDSA_PrivateKey(rng, group, priv_bn));...