Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
func GeneratePrivateKey ¶
func GeneratePrivateKey() *PrivateKey
func NewPrivateKeyFromSeed ¶
func NewPrivateKeyFromSeed(seed []byte) *PrivateKey
func NewPrivateKeyFromString ¶
func NewPrivateKeyFromString(s string) *PrivateKey
func (*PrivateKey) Public ¶
func (p *PrivateKey) Public() *PublicKey
func (*PrivateKey) Sign ¶
func (p *PrivateKey) Sign(msg []byte) *Signature
Click to show internal directories.
Click to hide internal directories.