The highest tagged major version is
v2 .
Discover Packages
github.com/ameshkov/dnscrypt
xsecretbox
package
Version:
v1.0.6
Opens a new window with list of versions in this module.
Published: Jan 22, 2019
License: Unlicense
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
KeySize = 32
NonceSize = 24
TagSize = 16
)
Open does what the name suggests
func Seal(out, nonce, message, key []byte ) []byte
Seal does what the name suggests
SharedKey computes a shared secret compatible with the one used by `crypto_box_xchacha20poly1305“
Source Files
¶
Click to show internal directories.
Click to hide internal directories.