Documentation ¶
Index ¶
- func AesCFBDecrypt(cipherText, key []byte) ([]byte, error)
- func AesCFBEncrypt(msg, key []byte) ([]byte, error)
- func HMacMD5(s string, key []byte) string
- func MD5(s string) string
- func Md5Stream(reader io.Reader) (string, error)
- func Md5Sum(filename string) (string, error)
- func RandAuthToken() string
- func RandNumber(min, max int) int
- func RandString(length int64) string
- func SHA1(s string) string
- func SHA1Stream(reader io.Reader) (string, error)
- func SHA1StreamSum(filename string) (string, error)
- type Rsa
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandAuthToken ¶
func RandAuthToken() string
func SHA1StreamSum ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.