Documentation
¶
Index ¶
- func Bcrypt(password string, cost int) string
- func BcryptCompare(password, hash string) bool
- func HMAC(bs, key []byte) []byte
- func Md5Bytes(bs []byte) string
- func Md5Reader(r io.Reader) string
- func Md5Str(text string) string
- func Sha1Bytes(bs []byte) string
- func Sha1Reader(r io.Reader) string
- func Sha1Str(text string) string
- func Sha2Bytes(bs []byte) string
- func Sha2Reader(r io.Reader) string
- func Sha2Str(text string) string
- type HashID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BcryptCompare ¶
func Sha1Reader ¶
func Sha2Reader ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.