pwd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenMd5 added in v1.0.1

func GenMd5(password string, saltLength, keyLength, iterations int) (encryptedPassword string, err error)

func GenSHA1 added in v1.0.1

func GenSHA1(password string, saltLength, keyLength, iterations int) (encryptedPassword string, err error)

func GenSHA256 added in v1.0.1

func GenSHA256(password string, saltLength, keyLength, iterations int) (encryptedPassword string, err error)

func GenSHA384 added in v1.0.1

func GenSHA384(password string, saltLength, keyLength, iterations int) (encryptedPassword string, err error)

func GenSHA512 added in v1.0.1

func GenSHA512(password string, saltLength, keyLength, iterations int) (encryptedPassword string, err error)

func VerifyMd5

func VerifyMd5(password, encryptedPassword string) (isValid bool, err error)

func VerifySHA1

func VerifySHA1(password, encryptedPassword string) (isValid bool, err error)

func VerifySHA256

func VerifySHA256(password, encryptedPassword string) (isValid bool, err error)

func VerifySHA384

func VerifySHA384(password, encryptedPassword string) (isValid bool, err error)

func VerifySHA512

func VerifySHA512(password, encryptedPassword string) (isValid bool, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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