Documentation ¶
Overview ¶
Package crypto supports key related functionalities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeyPair ¶
func GenerateKeyPair() (pubkey, privkey []byte)
GenerateKeyPair that are public and private key
func PrivkeyToAddress ¶ added in v1.2.0
PrivkeyToAddress returns ether address from private key
func PubkeyToAddress ¶ added in v1.2.0
PubkeyToAddress returns Ethereum address from public key
func RecoverPubkey ¶
RecoverPubkey recover public key from signed message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.