crypto

package
Version: v0.0.0-...-fad388b Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(data, key []byte) ([]byte, error)

func Encrypt

func Encrypt(data, key []byte) ([]byte, error)

func Md5

func Md5(data []byte) []byte

func RandBytes

func RandBytes(c int) ([]byte, error)

func RandNumStr

func RandNumStr(l int) string

func SaltedHash

func SaltedHash(salt []byte, password string) [64]byte

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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