Documentation
¶
Index ¶
- func ExtractPubKeyHash(address string) []byte
- func GenKey() *ecdsa.PrivateKey
- func GenPair() ([]byte, *ecdsa.PrivateKey)
- func HashECDSAPubKey(pub *ecdsa.PublicKey) []byte
- func HashPubKey(pub crypto.PubKey) []byte
- func UnmarshalPubKey(b []byte) (*ecdsa.PublicKey, error)
- type Address
- type PubKey
- type Receiver
- type Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPubKeyHash ¶
ExtractPubKeyHash will pull the public key hash out of a wallet address.
func GenPair ¶
func GenPair() ([]byte, *ecdsa.PrivateKey)
GenPair generates a public key and private key pair
func HashECDSAPubKey ¶
func HashPubKey ¶
HashPubKey will create a public key hash from a public key.
Types ¶
Click to show internal directories.
Click to hide internal directories.