Documentation
¶
Index ¶
- type Keygen
- type Signer
- func (s *Signer) ECDH(pubkeyBytes []byte) (secret []byte, err error)
- func (s *Signer) ECPub() (b []byte)
- func (s *Signer) Generate() (err error)
- func (s *Signer) InitPub(pub []byte) (err error)
- func (s *Signer) InitSec(sec []byte) (err error)
- func (s *Signer) Pub() (b []byte)
- func (s *Signer) Sec() (b []byte)
- func (s *Signer) Sign(msg []byte) (sig []byte, err error)
- func (s *Signer) Verify(msg, sig []byte) (valid bool, err error)
- func (s *Signer) Zero()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.