Documentation ¶
Index ¶
- type Keygen
- type Signer
- func (s *Signer) ECDH(pubkeyBytes by) (secret by, err er)
- func (s *Signer) ECPub() (b by)
- func (s *Signer) Generate() (err er)
- func (s *Signer) InitPub(pub by) (err er)
- func (s *Signer) InitSec(sec by) (err er)
- func (s *Signer) Negate()
- func (s *Signer) Pub() (b by)
- func (s *Signer) Sec() (b by)
- func (s *Signer) Sign(msg by) (sig by, err er)
- func (s *Signer) Verify(msg, sig by) (valid bo, err er)
- 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 by)
Click to show internal directories.
Click to hide internal directories.