crypto

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateMD5Hash

func GenerateMD5Hash(str string) (string, error)

GenerateMD5Hash : Generate a md5 hash from a string

func GenerateRandomToken

func GenerateRandomToken(n int) (string, error)

GenerateRandomToken : Generates a random token int n long

func GenerateRandomToken16

func GenerateRandomToken16() (string, error)

GenerateRandomToken16 : Generates a random token 16bits long

func GenerateRandomToken32

func GenerateRandomToken32() (string, error)

GenerateRandomToken32 : Generates a random token 32bits long

Types

This section is empty.

Jump to

Keyboard shortcuts

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