Documentation ¶
Index ¶
- func Base64(src string) string
- func Bcrypt(src string) string
- func CheckAcl(tam map[string]auth.Access, write bool) bool
- func CompareHash(hashed, plain, key string, ht HashType) bool
- func HmacSha1(src, key string) string
- func HmacSha256(src, key string) string
- func HmacSha512(src, key string) string
- func Md5(src string) string
- func Sha1(src string) string
- func Sha256(src string) string
- func Sha512(src string) string
- type Blacklist
- type HashType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareHash ¶ added in v2.4.0
func HmacSha256 ¶ added in v2.4.0
func HmacSha512 ¶ added in v2.4.0
Types ¶
type Blacklist ¶
type Blacklist struct {
// contains filtered or unexported fields
}
func (*Blacklist) CheckBLAcl ¶
func (*Blacklist) CheckBLAuth ¶
func (*Blacklist) SetBlacklist ¶
Click to show internal directories.
Click to hide internal directories.