symmetric

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressAndEncryptWithRandomSecret

func CompressAndEncryptWithRandomSecret(msg []byte) (encrypted []byte, secretKey [32]byte, err error)

func Decrypt

func Decrypt(encrypted []byte, secretKey [32]byte) (decrypted []byte, err error)

func DecryptAndDecompress

func DecryptAndDecompress(encrypted []byte, secretKey [32]byte) (decrypted []byte, err error)

func EncryptWithRandomSecret

func EncryptWithRandomSecret(msg []byte) (encrypted []byte, secretKey [32]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