package
0.2.0
Repository: https://github.com/irisnet/core-sdk-go.git
Documentation: pkg.go.dev

# Functions

Generate key pair.
No description provided by the author
No description provided by the author
Gets the public key from the private key.
SM2 Private key decrypt.
PrivateKey Sign.
SM2 public key encryption.
PublicKey Verify.
No description provided by the author
Text matching: compares decrypted information with original textmsg: original textplaintext: Decrypted plaintext.

# Constants

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

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

PrivKey defines a secp256k1 private key.
PubKey defines a secp256k1 public key Key is the compressed form of the pubkey.