plugeth/crypto
bas-vk b59c8399fb internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940)
This commit includes several API changes:

- The behavior of eth_sign is changed. It now accepts an arbitrary
  message, prepends the well-known string

        \x19Ethereum Signed Message:\n<length of message>

  hashes the result using keccak256 and calculates the signature of
  the hash. This breaks backwards compatability!
  
- personal_sign(hash, address [, password]) is added. It has the same
  semantics as eth_sign but also accepts a password. The private key
  used to sign the hash is temporarily unlocked in the scope of the
  request.
  
- personal_recover(message, signature) is added and returns the
  address for the account that created a signature.
2016-10-28 21:25:49 +02:00
..
ecies all: fix go vet warnings 2016-04-15 11:17:27 +02:00
randentropy crypto: Remove dead code 2016-02-21 22:46:31 +00:00
secp256k1 parmas, crypto, core, core/vm: homestead consensus protocol changes 2016-02-18 10:08:11 +01:00
sha3 crypto/sha3: update from golang.org/x/crypto/sha3 a 80b25ed4 2016-10-01 21:26:43 +02:00
crypto_test.go internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940) 2016-10-28 21:25:49 +02:00
crypto.go internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940) 2016-10-28 21:25:49 +02:00
encrypt_decrypt_test.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00