Documentation ¶
Index ¶
- func AesCbcDecrypt(str string, keyBuf, ivBuf []byte) (ret string, err error)
- func AesCbcEncrypt(str string, keyBuf []byte, paddingMode ...string) (ret string, err error)
- func Base64Decode(str string) string
- func Base64Encode(str string) string
- func HmacSha1(str string, keyBuf []byte) (string, error)
- func HmacSha256(str string, keyBuf []byte) (string, error)
- func HmacSha512(str string, keyBuf []byte) (string, error)
- func Md5(str string, salt ...string) string
- func RsaDecrypt(str string, privateKeyBuf []byte) (ret string, err error)
- func RsaEncrypt(str string, publicKeyBuf []byte) (ret string, err error)
- func Sha1(str string) (string, error)
- func Sha256(str string) (string, error)
- func Sha512(str string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesCbcEncrypt ¶
func Base64Decode ¶
func Base64Encode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.