Documentation ¶
Index ¶
- func Load()
- type Key
- func (k Key) AddPrivate(p crypto.PrivateKey) crypto.PrivateKey
- func (k Key) AddPublic(pub crypto.PublicKey) crypto.PublicKey
- func (k Key) Challenge(R crypto.PublicKey, message []byte) [32]byte
- func (k Key) CheckKey() bool
- func (k Key) CheckScalar() bool
- func (k Key) DeterministicHashDerive() crypto.PrivateKey
- func (k Key) Key() crypto.Key
- func (k Key) Public() crypto.PublicKey
- func (k Key) ScalarHash(outputIndex uint64) crypto.PrivateKey
- func (k Key) ScalarMult(p crypto.PublicKey) crypto.PublicKey
- func (k Key) Sign(message []byte) (*crypto.Signature, error)
- func (k Key) SignWithChallenge(random crypto.PrivateKey, message []byte, hReduced [32]byte) (*crypto.Signature, error)
- func (k Key) String() string
- func (k Key) SubPublic(pub crypto.PublicKey) crypto.PublicKey
- func (k Key) Verify(message []byte, sig *crypto.Signature) bool
- func (k Key) VerifyWithChallenge(message []byte, sig *crypto.Signature, hReduced [32]byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Key ¶
func PrivateKeyFromSeed ¶
func (Key) AddPrivate ¶
func (k Key) AddPrivate(p crypto.PrivateKey) crypto.PrivateKey
func (Key) CheckScalar ¶
func (Key) DeterministicHashDerive ¶
func (k Key) DeterministicHashDerive() crypto.PrivateKey
func (Key) ScalarHash ¶
func (k Key) ScalarHash(outputIndex uint64) crypto.PrivateKey
func (Key) SignWithChallenge ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.