Documentation ¶
Index ¶
- func Bcrypt(message string) string
- func BcryptCheck(hashedMessage string, password string) bool
- func BcryptGetCost(hashedMessage string) int
- func BcryptWithCost(message string, cost int) string
- func HmacMd5(data []byte, key []byte) []byte
- func HmacMd5Base64String(message string, key string) string
- func HmacMd5HexString(message string, key string) string
- func HmacSha1(data []byte, key []byte) []byte
- func HmacSha1Base64String(message string, key string) string
- func HmacSha1HexString(message string, key string) string
- func HmacSha256(data []byte, key []byte) []byte
- func HmacSha256Base64String(message string, key string) string
- func HmacSha256HexString(message string, key string) string
- func HmacSha512(data []byte, key []byte) []byte
- func HmacSha512Base64String(message string, key string) string
- func HmacSha512HexString(message string, key string) string
- func Md5(message string) string
- func PasswordBcrypt(password string, pepper string) string
- func PasswordMd5(password string, salt string) string
- func PasswordSha1(password string, salt string) string
- func PasswordSha256(password string, salt string) string
- func PasswordSha512(password string, salt string) string
- func Sha1(message string) string
- func Sha256(message string) string
- func Sha512(message string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BcryptCheck ¶ added in v0.0.6
func BcryptGetCost ¶ added in v0.0.7
func BcryptWithCost ¶ added in v0.0.6
func HmacMd5Base64String ¶ added in v0.0.5
func HmacMd5HexString ¶ added in v0.0.3
func HmacSha1Base64String ¶ added in v0.0.5
func HmacSha1HexString ¶ added in v0.0.3
func HmacSha256 ¶ added in v0.0.2
func HmacSha256Base64String ¶ added in v0.0.5
func HmacSha256HexString ¶ added in v0.0.3
func HmacSha512 ¶ added in v0.0.2
func HmacSha512Base64String ¶ added in v0.0.5
func HmacSha512HexString ¶ added in v0.0.3
func PasswordBcrypt ¶ added in v0.1.0
func PasswordMd5 ¶ added in v0.1.0
func PasswordSha1 ¶ added in v0.1.0
func PasswordSha256 ¶ added in v0.1.0
func PasswordSha512 ¶ added in v0.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.