Documentation ¶
Index ¶
- type Hash
- type Key
- func (k Key) DeterministicHashDerive() Key
- func (k Key) HasValue() bool
- func (k Key) HashScalar() *[32]byte
- func (k Key) MarshalJSON() ([]byte, error)
- func (k *Key) MultScalar(outputIndex uint64) *Key
- func (k Key) Public() Key
- func (privateKey *Key) Sign(message []byte) Signature
- func (k Key) String() string
- func (k *Key) UnmarshalJSON(b []byte) error
- func (publicKey *Key) Verify(message []byte, sig Signature) bool
- type Signature
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hash ¶
type Hash [32]byte
func HashFromString ¶
func (Hash) ForNetwork ¶
func (Hash) MarshalJSON ¶
func (*Hash) UnmarshalJSON ¶
type Key ¶
type Key [32]byte
func DeriveGhostPrivateKey ¶
func DeriveGhostPublicKey ¶
func NewKeyFromSeed ¶
func ViewGhostOutputKey ¶
func (Key) DeterministicHashDerive ¶
func (Key) HashScalar ¶
func (Key) MarshalJSON ¶
func (*Key) MultScalar ¶
func (*Key) UnmarshalJSON ¶
type Signature ¶
type Signature [64]byte
func (Signature) MarshalJSON ¶
func (*Signature) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.