neoneo-go/pkg/crypto
Roman Khimov b77e533d13 crypto/wallet: move public/private key into the new keys package
And drop associated _pkg.dev remnants (refs. #307).

Original `dev` branch had two separate packages for public and private keys,
but those are so intertwined (`TestHelper` subpackage is a proof) that it's
better unite them and all associated code (like WIF and NEP-2) in one
package. This patch also:
 * creates internal `keytestcases` package to share things with wallet (maybe
   it'll be changed in some future)
 * ports some tests from `dev`
 * ports Verify() method for public key from `dev`
 * expands TestPrivateKey() with public key check
2019-08-27 17:45:51 +03:00
..
hash hash: simplify ripemd160 usage 2019-08-26 13:32:19 +03:00
keys crypto/wallet: move public/private key into the new keys package 2019-08-27 17:45:51 +03:00
address.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
address_test.go _pkg.dev: drop address pkg, move test into crypto 2019-08-27 17:09:24 +03:00
aes256.go Base wallet implementation (#35) 2018-03-02 16:24:09 +01:00
base58.go pkg: make use of the new crypto/hash package 2019-08-26 13:32:19 +03:00
base58_test.go base58: add testing from _pkg.dev 2019-08-26 13:32:19 +03:00
elliptic_curve.go Fix typos and warnings for GoReport / GolangCiLinter (#132) 2019-02-09 16:53:58 +01:00
merkle_tree.go pkg: make use of the new crypto/hash package 2019-08-26 13:32:19 +03:00
merkle_tree_test.go uint256: add Reverse(), change String() to be BE 2019-08-26 13:32:19 +03:00
modular_arithmetic.go Base wallet implementation (#35) 2018-03-02 16:24:09 +01:00