package
Version:
v2.1.0+incompatible
Opens a new window with list of versions in this module.
Published: Dec 23, 2016
License: MIT
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
¶
Decrypt basic wrapper around secretbox which will decrypt a box
using ct which is comprised of a nonce followed by the box.
func Encrypt(plaintext, key []byte) []byte
Encrypt basic wrapper around secretbox which will encrypt a plain text
and return a message comprised of the nonce followed by the encrypted box.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.