Questions tagged [ecdsa]
In cryptography, the Elliptic Curve Digital Signature Algorithm offers a variant of the Digital Signature Algorithm which uses elliptic curve cryptography.
9
questions
0
votes
0answers
340 views
(NEW UPDATE: I need to run “testrpc”) Signing a message using “ethereumjs-abi”? (Error: Invalid JSON RPC response: “”)
I am trying to sign a message using following JavaScript code (from HERE)
function constructPaymentMessage(contractAddress, amount) {
return ethereumjs.ABI.soliditySHA3(
["address", "uint256"],
...
17
votes
1answer
11k views
EthereumJS: How to get public key from private key
I am trying to create a private key and its corresponding public key using EthereumJS library. So far so good I've been able to create private keys using keythereum.create() method. Nevertheless I ...
4
votes
1answer
2k views
During ECDSA signing, how do I generate the Recovery ID?
I'm working on authoring Ethereum transactions using ECDSA with SECP256K1. On the tail end of an Ethereum transaction is the V, R, and S values of signing a hash of the message. V is defined as ...
1
vote
2answers
582 views
Do private keys work across chains and networks?
If I generate a private key on mainnet now, would I be able to use it at the same address on Ethereum Classic? What about testnets?
In what cases would the keys not give the same address on different ...
6
votes
1answer
328 views
Any understandable cryptography book/article/lecture to introduce to signatures, hashes, ECDSA etc..? [closed]
It's a long time I'm searching for cryptography lectures related to ethereum inside mechanisms, and everything I found has a high mathematical level. I'm an engineer, not a mathematics, so any article ...
6
votes
1answer
866 views
Why doesn't my private key's public key generate the correct public address?
Private Key: 9ccbcabf23e271183dbed503b43277f4c6eee9ac918cd6cda75ebb73ceb35c7d
Corresponding Public Address: 0xa73Fb234B1773ed7b115D18A1f0a15579bA2C1e1 (check for yourself on MyCrypto, for example)
...
5
votes
2answers
3k views
How to implement cryptographic algorithms in smart contracts?
I need to implement cryptographic algorithms such as AESCCM and elliptic curve algorithms (ECDSA, ECIES) within a smart contract. Is there any implementation of such algorithms in Solidity or Serpent?
...
1
vote
1answer
2k views
Python ECDSA Public Key Recovery
How do you recover the EC public key from a VRS style signature in python?
I am trying to setup some encryption between two parties via ECIES, but I first wanted to obtain the public key via recovery ...
1
vote
1answer
93 views
Signing a raw transaction, wrong R and S values
I am trying to sign a raw transaction in javascript without relying on dependencies like web3, ethereumjs, etc.
I am following the python tutorial found here, and porting to JS as I go: https://...