package
0.0.0-20240202030638-d7b2d65645d8
Repository: https://github.com/harveywangdao/earth.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HashPubKey hashes public key.
NewWallet creates and returns a Wallet.
No description provided by the author
No description provided by the author
No description provided by the author
openssl pkcs8 -topk8 -inform PEM -in rsa_private_key.pem -outform PEM -nocrypt -out pkcs8.pemopenssl rsa -in pkcs8.pem -out pkcs1.pemopenssl x509 -in cert.pem -text –nooutopenssl req -new -x509 -newkey rsa:1024 -keyout CA.key -out CA.pemvar privatekey = []byte(`
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDFsNRpwxr8UkNYO/guYeYjKnI6nDClixwD5TTJqu8Z1J+oe2vi
NsdgJffkpq8GnR2Luk5uspNx0lkbEI/nqi13bnZRZsc351GrO76kI1+jZooSqkLx
zEpYojyQ2G35MUvlNW3vrYScS92QfKefSnsUdPuY082d+/+4LBva7lc+ewIDAQAB
AoGAFctFz5cTzYdgJ0UNOkfOsEfIqg94CXgJkaBeLnFqxKU9KLzaiujRGBd3ebyq
hQcjL7lNVkTXnm+7JRGxW6/WLSfgC+Er44+A+OadNC+3uP+5uOTmdaXc7VaHznIr
NM0UmRJpq9a1pJshM+NTISMYUQFh03rhCcWZAFTH7Q1Rl/kCQQDneVcsA0Fb3ZGW
P3eX4WrSW3oF1PkH8LTz9hPJC4BQFE8AKceTVDKtPm20659nEA4W7O5v7uwNGv+y
KhXUscLfAkEA2qMhF2BoO9pqPBTQCImj7Gs8Gx2ymWKz9qisQdFFULWLQlCDgTW3
XduVR4nz1VXVKY1gjyZsQBPQHhgdJC6z5QJAelqne3pVCAw8sqDlxIDBCGSWQZLr
+AiCfhprJvBPaQTzJXDwL65oAy9mqiWKYt4XtIKVHtG6MMs+sZyRYZZ9HQJAK/ul
LI64aVIHDQ8iypTl5SmtbccLps+0ZGqKPLNcvl/HJBAOZG/p83e5ECswYjpiJ3nJ
cwLHxBw4QdWYBy9eAQJBAJCYdYPesTIrYqV8K3oV9FU4qX6u0pxGYJ49ItJQlxJ5
DF93bbi7CoVx4DTnRwqR8wKWnMphTuMh4ZXsO5JLQFw=
-----END RSA PRIVATE KEY-----
`)
var publickey = []byte(`
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDFsNRpwxr8UkNYO/guYeYjKnI6
nDClixwD5TTJqu8Z1J+oe2viNsdgJffkpq8GnR2Luk5uspNx0lkbEI/nqi13bnZR
Zsc351GrO76kI1+jZooSqkLxzEpYojyQ2G35MUvlNW3vrYScS92QfKefSnsUdPuY
082d+/+4LBva7lc+ewIDAQAB
-----END PUBLIC KEY-----
`)
*/.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ToWIF converts a Bitcoin private key to a Wallet Import Format string.