neo-go/pkg/crypto
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
..
hash hash: improve merkle tree testing 2019-12-25 14:43:50 +03:00
keys keys: make NEP2Decrypt return a PrivateKey rather than WIF 2020-01-09 18:05:14 +03:00