package
Version:
v0.0.0-...-8fcfbba
Opens a new window with list of versions in this module.
Published: Jul 7, 2023
License: LGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func DecryptWithDH(pub, priv, enc, ad []byte) ([]byte, error)
-
func DecryptWithKey(key, enc, ad []byte) ([]byte, error)
-
func EncryptWithDH(pub, priv, msg, ad []byte) ([]byte, error)
-
func EncryptWithKey(key, msg, ad []byte) ([]byte, error)
-
func SliceToKey(b []byte) nacl.Key
Source Files
¶
Click to show internal directories.
Click to hide internal directories.