Documentation ¶
Index ¶
- func GenerateDH() (*[32]byte, *[32]byte, error)
- func HKDF(secret, info []byte, outputLength int) ([]byte, error)
- func LoadMaterialKey(chain []byte) ([]byte, error)
- func Secret(priv ecdh.PrivateKey, pub ecdh.PublicKey) []byte
- func Sign(privateKey *[32]byte, message []byte, random [64]byte) *[64]byte
- func Verify(publicKey [32]byte, message []byte, signature *[64]byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDH ¶
func LoadMaterialKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.