crypt

package
v0.0.0-...-9ff81d7 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SHA1_SALT = "$10.ytcjjju#@90001.x9wo#@356xw2."
)

Functions

func Blowfish

func Blowfish(password string) (string, error)

Blowfish gera o hash da senha

func CheckBlowfish

func CheckBlowfish(password, hash string) error

CheckBlowfish checa o hash com a senha

func GSha1

func GSha1(key string) string

func Random

func Random(min, max int) int

Random ..

func Token

func Token(key string) (string, error)

Token..

Types

This section is empty.

Jump to

Keyboard shortcuts

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