Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPrivateKeySlice ¶
func NewPrivateKeySlice() *privateKeySlice
Types ¶
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
func NewPrivateKey ¶
func NewPrivateKey() *PrivateKey
func NewPrivateKeyFromSeed ¶
func NewPrivateKeyFromSeed[T Seed](seed T) *PrivateKey
func (*PrivateKey) Bytes ¶
func (p *PrivateKey) Bytes() ed25519.PrivateKey
func (*PrivateKey) Public ¶
func (p *PrivateKey) Public() *PublicKey
func (*PrivateKey) Sign ¶
func (p *PrivateKey) Sign(msg []byte) *Signature
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
func NewPublicKey ¶
type PublicKeySlice ¶
type PublicKeySlice struct {
// contains filtered or unexported fields
}
func NewPublicKeySlice ¶
func NewPublicKeySlice(key ed25519.PublicKey) *PublicKeySlice
func (*PublicKeySlice) AddressSlice ¶
func (p *PublicKeySlice) AddressSlice() *addressSlice
func (*PublicKeySlice) BytesSlice ¶
func (p *PublicKeySlice) BytesSlice() ed25519.PublicKey
Click to show internal directories.
Click to hide internal directories.