Linked Questions
15 questions linked to/from Ethereum ecrecover signature verification and encryption
69
votes
5
answers
59k
views
Get public key of any ethereum account
Can I somehow get the public key of an ethereum account knowing just the corresponding ethereum address (e.g. 0x54dbb737eac5007103e729e9ab7ce64a6850a310)?
34
votes
6
answers
27k
views
ecrecover from Geth and web3.eth.sign
I have tried to use ecrecover() to verify the signature of a message.
I have looked at lots of references here and elsewhere, like:
https://lab-blog.ey.com/2016/12/19/ecrecover/
How does one ...
35
votes
4
answers
21k
views
workflow on signing a string with private key, followed by signature verification with public key
I know this question has been asked and answered, but while trying to get everything to work, I've come across some problems. This is what I'm trying to do:
1. take a target string 'Schoolbus'
2. ...
33
votes
5
answers
14k
views
How can I sign a piece of data with the private key of an Ethereum address?
I would like to use the key pair of one of my Ethereum accounts to sign a piece of data. How can this be done?
30
votes
1
answer
14k
views
How can I verify a cryptographic signature that was produced by an Ethereum address key pair
If I have a cryptographic signature from an Ethereum address key pair, how can I verify that signature?
5
votes
1
answer
5k
views
How to use ecrecover() and what it is?
It’s a simple question, but I couldn’t find an answer. In an ERC20 contract lies this code
//The nonce for avoid transfer replay attacks
mapping(address => uint256) nonces;
.
uint256 nonce = ...
5
votes
2
answers
4k
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?
...
7
votes
2
answers
1k
views
Does Ethereum offer encrypted peer to peer communication applications?
I am wondering if Ethereum can be used for encrypted peer to peer communication like delivering encrypted short messages or encrypted data in bulk between two or multiple parties.
Are there any ...
6
votes
1
answer
2k
views
How does ecrecover actually work?
I have a basic understanding of elliptic curves, so I'm more interested to find out how does ecrecover specifically verify signatures. It has rather weird requirements, like this prefix thing (excerpt ...
6
votes
2
answers
1k
views
How to sign a message using secp256k1 in Ruby?
I'm trying to write a sign function in Ruby for Ethereum using secp256k1.
I have access to this sign_compact function which seems to be for Bitcoin:
https://github.com/lian/bitcoin-ruby/blob/master/...
5
votes
1
answer
1k
views
web3.eth.sign not returning a valid signature - Or how else does this work?
EDIT: Problem Solved; working example of login below
I use the sha3 of a message I want to sign with eth.sign
m = web3.sha3("Please work.")
I then runeth.sign(eth.coinbase, m)
And it returns me: ...
4
votes
2
answers
528
views
Web3 Javascript API -- Transaction Object Not Matching Documentation
Noob question about the Web3 Javascript API.
When I use web3.eth.getTransaction(), the object that comes back has some properties that I cannot seem to find in the documentation. For example, here is ...
0
votes
2
answers
1k
views
How to call this solidity function with Web3js when executing the contract?
I’m new with ethereum.
I’m definitely struggling with the last 4 parameter of this function, so I’m asking the problem directly.
mapping(address => uint256) nonces;
/*
* Proxy transfer token. ...
4
votes
0
answers
145
views
how to sign with the Ethereum private key and derive the the r, v, s it needs for verification [duplicate]
I know this kind of questions has been asked before, I want to know the detailed procedure to sign on msgs and derive the r, v, s(the command line), and the client and environment it needs to do the ...
3
votes
1
answer
143
views
Is there a command line like RSA_verify in Ethereum
I want to know if there is command line in Ethereum can do the RSA signature verification that we can directly use