Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenKeyPair ¶
func GenKeyPair() (PrivateKey, PublicKey, error)
GenKeyPair generate private, public key - PrivateKey private key - PublicKey public key
Types ¶
type Signature ¶
type Signature string
Signature string
func GenSignatureByPriKey ¶
func GenSignatureByPriKey(prvKey PrivateKey, data []byte) (Signature, error)
GenSignatureByPriKey gen signature by private key @prvKey private key @data content data
- Signature signature value
Click to show internal directories.
Click to hide internal directories.