secrets

package
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const AesBytes = 32

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(gcmPayload, symmetricKey []byte) (payload []byte, err error)

func Encrypt

func Encrypt(payload, symmetricKey []byte) (gcmPayload []byte, err error)

func GenerateKey

func GenerateKey() (symmetricKey []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL