aes

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: GPL-2.0, GPL-3.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(data []byte, passphrase string) ([]byte, error)

Decrypt decrypts a given data stream with a given passphrase

func DecryptFile

func DecryptFile(filename string, passphrase string) ([]byte, error)

DecryptFile encrypts a given file with the given passphrase

func Encrypt

func Encrypt(data []byte, passphrase string) ([]byte, error)

Encrypt encrypts a given data stream with a given passphrase

func EncryptFile

func EncryptFile(filename string, data []byte, passphrase string) error

EncryptFile encrypts a given file with the given passphrase

Types

This section is empty.

Jump to

Keyboard shortcuts

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