pwd

package module
v0.0.0-...-ca2fcd7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(str string) string

Base64Decode base64 decode

func Base64Encode

func Base64Encode(str string) string

Base64Encode base64 encode

func Bcrypt

func Bcrypt(pwd string) string

Bcrypt bcrypt.Sum

func BcryptCheck

func BcryptCheck(hashedPwd, pwd string) bool

BcryptCheck check bcrypt hash

func Check

func Check(hashed, pwd string) bool

Check sha256 password check

func Gen

func Gen(pwd string) string

Gen generate the sha256 password

func Md5

func Md5(str string) string

Md5 md5.Sum

func Sha1

func Sha1(str string) string

Sha1 sha1.Sum

func Sha1Check

func Sha1Check(hashed, pwd string) bool

Sha1Check sha1 password check

func Sha1Gen

func Sha1Gen(pwd string) string

Sha1Gen generate the sha1 password

func Sha256

func Sha256(str string) string

Sha256 sha256.Sum

func Sha512

func Sha512(str string) string

Sha512 sha512.Sum

Types

This section is empty.

Jump to

Keyboard shortcuts

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