crypto

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHash

func CreateHash(key string) string

CreateHash generate sha key

func Decrypt

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

Decrypt data

func Encrypt

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

Encrypt data

Types

This section is empty.

Jump to

Keyboard shortcuts

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