Documentation
¶
Index ¶
- func CheckMessageSignature(message, publicKey, signature []byte) (result bool)
- func GenPublicKey(secretKey []byte) (publicKey []byte)
- func Lock(plaintext, nonce, key []byte) (mac, ciphertext []byte)
- func LockAead(plaintext, nonce, key, addData []byte) (mac, ciphertext, data []byte)
- func SignMessage(message, secretKey []byte) (signature, publicKey []byte)
- func Unlock(ciphertext, nonce, key, mac []byte) (plaintext []byte, authentic bool)
- func UnlockAead(ciphertext, nonce, key, mac, addData []byte) (plaintext []byte, authentic bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMessageSignature ¶
func GenPublicKey ¶
func SignMessage ¶
func UnlockAead ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.