neoneo-go/pkg/crypto/keys
Roman Khimov b5b05a969c keys: make NEP2Decrypt return a PrivateKey rather than WIF
There is no point in encoding the output of this function in a WIF format,
most of the users actually want the real key and those who need a WIF can
easily get if from the key (and it's simpler than getting the key from the
WIF).

It also fixes a severe bug in NEP2Decrypt, base58 decoding errors were not
processed correctly.
2020-01-09 18:05:14 +03:00
..
aes256.go crypto: internalize aes functions into the keys package 2019-12-25 11:25:05 +03:00
nep2.go keys: make NEP2Decrypt return a PrivateKey rather than WIF 2020-01-09 18:05:14 +03:00
nep2_test.go keys: make NEP2Decrypt return a PrivateKey rather than WIF 2020-01-09 18:05:14 +03:00
private_key.go keys: rename New*FromRawBytes to New*FromASN1 2019-10-15 12:56:25 +03:00
private_key_test.go crypto: add invalid testcase 2019-11-29 11:03:03 +03:00
publickey.go keys: move IsOnCurve decoding check, add a test for it 2019-12-25 18:00:25 +03:00
publickey_test.go keys: add a successful test for 04-encoded public key 2019-12-25 18:06:25 +03:00
sign_verify_test.go util: add LE suffix to Uint256 methods 2019-12-06 12:16:55 +03:00
wif.go base58: move into its own package 2019-12-25 15:05:54 +03:00
wif_test.go crypto: add invalid testcase 2019-11-29 11:03:03 +03:00