crypt

package
v0.0.0-...-6d8a8fc Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HASH_SALT = "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
	SHA1_SALT = "xxxxxxxxxxxxxxxxxxxxxxxxxxx"

	UKK_KEY_CIPHER = []byte("KEUEUXUWYEJDUEUE3151SXXY917DICXX")
)

Functions

func Base64Dec

func Base64Dec(textString string) string

func Base64Enc

func Base64Enc(textString string) string

func Blowfish

func Blowfish(password string) string

func CheckBlowfish

func CheckBlowfish(password, hash string) bool

func Decode64String

func Decode64String(encoded string) string

func Encode64Byte

func Encode64Byte(content []byte) string

func Encode64String

func Encode64String(content string) string

func Md5

func Md5(text string) string

func Rand5

func Rand5() string

func Random

func Random(min, max int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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