Documentation
¶
Index ¶
- func GenerateKeysFromPassword(password string) (*ecdsa.PrivateKey, *ecdsa.PublicKey, error)
- func LoadPrivateKeyFromFile(filename string) (*ecdsa.PrivateKey, error)
- func PublicKeyCompressedToString(pubKey *ecdsa.PublicKey) string
- func PublicKeyToECDSA(pubKey string) (*ecdsa.PublicKey, error)
- func SavePrivateKeyToFile(filename string, privKey *ecdsa.PrivateKey) error
- func SignData(privKey *ecdsa.PrivateKey, data []byte) ([]byte, error)
- func VerifySignature(pubKey *ecdsa.PublicKey, data []byte, signature []byte) bool
- type Wallet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPrivateKeyFromFile ¶
func LoadPrivateKeyFromFile(filename string) (*ecdsa.PrivateKey, error)
func SavePrivateKeyToFile ¶
func SavePrivateKeyToFile(filename string, privKey *ecdsa.PrivateKey) error
Types ¶
Click to show internal directories.
Click to hide internal directories.