Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateKey ¶
type PrivateKey struct {
Key *ecdsa.PrivateKey
}
func GeneratePrivateKey ¶
func GeneratePrivateKey() PrivateKey
func PrivateKeyFromBytes ¶
func PrivateKeyFromBytes(data []byte) (PrivateKey, error)
func (PrivateKey) PublicKey ¶
func (k PrivateKey) PublicKey() PublicKey
func (PrivateKey) ToBytes ¶
func (k PrivateKey) ToBytes() []byte
type PublicKey ¶
func PublicKeyFromBytes ¶
Click to show internal directories.
Click to hide internal directories.