Comments (2)
I'm not sure I understand the problem, if you already have the private key, why not just generate the public key? It's deterministic. Are you sure that pem public key is correct?
from eccrypto.
Now I have a pair of ecdsa keys;
and if I want to use the ecc encrypt/decrypt, I will have to generate a new ecc-publicKey from the privateKey , which I already have a ecdsa-publicKey in hand.
So now I have ecdsaPrivateKey, ecdsaPublicKey and eccPublicKey.
Can I just use the ecdsaPublicKey in ecc crypto instead of generating a new eccPub?
from eccrypto.
Related Issues (20)
- crypto not found HOT 2
- While the text is greater then 14 characters the decrypt do not works HOT 2
- Browser decryption failed with "Bad MAC" HOT 10
- Document all the functions exposed by this library
- browser.aesCbcEncrypt is not working properly. HOT 1
- Is it compatible with bouncycastle? HOT 1
- Release with CDN HOT 7
- 💰 USD 200 BOUNTY: Create example showing in-browser file encryption with private key HOT 9
- Release binary HOT 2
- ECIES Decrypting a message fetched from API giving me bad public key HOT 7
- eccryptoJS.encrypt doesn't accept Uint8Array HOT 1
- Node vs Browser implementations incompatibility? HOT 3
- Problem with public key loading HOT 3
- Warning: "secp256k1 unavailable, reverting to browser version" HOT 6
- Wrong elliptic curve "nid" for secp256k1 public keys. HOT 1
- "Error: Bad public key" while it seems everything is OK! HOT 1
- toArray() returns unpadded Buffer arrays, resulting in Bad MAC error HOT 1
- Load private key from string
- error: 'class v8::ArrayBuffer' has no member named 'GetContents' (node 18.14.2)
- How can I embeded in an html page?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eccrypto.