encryption

package
v0.0.0-...-10bdaf9 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMD5

func CreateMD5(key string) string

func CreateSHA1

func CreateSHA1(key string) string

func Decrypt

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

func DecryptFile

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

func Encrypt

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

func EncryptFile

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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