libeae

package
v0.0.0-...-d8c5413 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeySize   = 32
	SaltSize  = 16
	NonceSize = 12
	ChunkSize = 256 * 1024

	AES256GCM        = 'A'
	ChaCha20Poly1305 = 'C'
)

Variables

This section is empty.

Functions

func DecryptFile

func DecryptFile(outFilename, inFilename string, ignoreWarning bool, passphrase []byte) error

func EncryptFile

func EncryptFile(outFilename, inFilename string, N, r, p uint8, algo Algorithm, passphrase []byte) error

Types

type Algorithm

type Algorithm uint8

Directories

Path Synopsis
Package aeadstream implements streams on AEAD ciphers.
Package aeadstream implements streams on AEAD ciphers.

Jump to

Keyboard shortcuts

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