Documentation ¶
Index ¶
- type Keygen
- type Signer
- func (s *Signer) ECDH(pubkeyBytes B) (secret B, err E)
- func (s *Signer) ECPub() (b B)
- func (s *Signer) Generate() (err E)
- func (s *Signer) InitPub(pub B) (err error)
- func (s *Signer) InitSec(sec B) (err error)
- func (s *Signer) Negate()
- func (s *Signer) Pub() (b B)
- func (s *Signer) Sec() (b B)
- func (s *Signer) Sign(msg B) (sig B, err error)
- func (s *Signer) Verify(msg, sig B) (valid bool, err error)
- func (s *Signer) Zero()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keygen ¶
type Keygen struct {
Signer
}
func (*Keygen) KeyPairBytes ¶
func (k *Keygen) KeyPairBytes() (secBytes, cmprPubBytes B)
Click to show internal directories.
Click to hide internal directories.