aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.go
Commit message (Collapse)AuthorAgeFilesLines
* Fixed whisper pub key bugobscuren2015-01-301-1/+1
| | | | | * Unrecoverable messages would cause segfault when recovering invalid pub key
* Address pull request commentsGustav Simonsson2015-01-281-4/+3
| | | | | | | | | * Use crypto.Sign instead of directly calling secp256k1 lib * Rename UserAccount to Account and Addr to Address (for consistency) * Change AccountManager.Sign to take ptr to Account instead of address byte array * Simplify copying of Accounts in Accounts() * PubkeyToAddress and GetEntropyCSPRNG now exported
* Add accounts package and refactor key storesGustav Simonsson2015-01-261-2/+8
| | | | | | | | * Add initial UserAccount and AccountManager structs * Add NewAccount, Sign and Accounts functions * Refactor key stores to use key address as main identifier while keeping the UUID. * Use key address as file/dir names instead of UUID
* Merge branch 'import_presale_keys' of ↵obscuren2015-01-231-0/+105
|\ | | | | | | | | | | | | https://github.com/Gustav-Simonsson/go-ethereum into Gustav-Simonsson-import_presale_keys Conflicts: crypto/crypto.go
| * CamelCase aesCBCDecryptGustav Simonsson2015-01-221-2/+2
| |
| * Add ImportPreSaleKeyGustav Simonsson2015-01-211-0/+104
| | | | | | | | | | | | * ImportPreSaleKey takes a KeyStore, a presale key JSON (e.g. file content) and a password string. It stores the key in the given key store. * Refactored common AES decryption and moved some functions to crypto.go
* | Use curve params instead of hardcoded 32 bytesobscuren2015-01-231-1/+1
| |
* | Pad private key when signing & length check for hashes in signobscuren2015-01-231-1/+6
|/
* Moved `obscuren` secp256k1-goobscuren2015-01-221-1/+1
|
* Moved sha3 from `obscuren`obscuren2015-01-221-1/+1
|
* Added length checkesobscuren2014-12-131-1/+18
|
* Changed new methods to use ecdsa package for pub prv keysobscuren2014-12-101-23/+32
|
* Added Encrypt & Decrypt using the ECIES w/ testsobscuren2014-12-101-0/+42
|
* ethcrypto => cryptoobscuren2014-10-311-0/+47