crypter

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 License: ISC Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(text string, key []byte) (string, error)

Decrypt text with key

func Encrypt

func Encrypt(text string, key []byte) (string, error)

Encrypt text with key

func GenerateKey

func GenerateKey(key string) []byte

GenerateKey generate AES key

func Hash

func Hash(input string) string

Hash return SHA-3 512 hash string

func HashByte

func HashByte(input []byte) []byte

HashByte return SHA-3 512 hash []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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