Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Curve25519 ¶
func (*Curve25519) GenerateKeypair ¶
func (c *Curve25519) GenerateKeypair() error
func (*Curve25519) GenerateSharedSecret ¶
func (c *Curve25519) GenerateSharedSecret(recipientPublicKey []byte) ([]byte, error)
type Ed448 ¶
type Ed448 struct {
SecretKey ed448.PrivateKey
PublicKey ed448.PublicKey
Context string
Encoder generic.Encoder
}
func (*Ed448) GenerateFromSeed ¶
type Ed25519 ¶
type Ed25519 struct {
SecretKey ed25519.PrivateKey
PublicKey ed25519.PublicKey
Encoder generic.Encoder
}
func (*Ed25519) GenerateFromSeed ¶
Click to show internal directories.
Click to hide internal directories.