encrypt

package
v3.1.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

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

func DecryptString

func DecryptString(data string, keyHex string) (string, error)

func Encrypt

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

func EncryptString

func EncryptString(data string, keyHex string) (string, error)

func GenerateKey

func GenerateKey() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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