crypto

package
v0.0.0-...-2773a8c Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2018 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptString

func DecryptString(cryptoText string, keyString string) (plainTextString string, err error)

DecryptString decrypt cryptoText string with keyString key string

func EncryptBytes

func EncryptBytes(plainText []byte, keyString string) ([]byte, error)

EncryptBytes encrypt plainText bytes with keyString key string

func EncryptString

func EncryptString(plainText string, keyString string) (string, error)

EncryptString encrypt plainText string with keyString key string

Types

This section is empty.

Jump to

Keyboard shortcuts

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