security

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

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

func Encrypt

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

func ValidEmail added in v0.1.2

func ValidEmail(email string) bool

func ValidRandomString added in v0.1.2

func ValidRandomString(random string) bool

func ValidToken added in v0.1.2

func ValidToken(token string) bool

func ValidUUID added in v0.1.2

func ValidUUID(uuid string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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