Documentation
¶
Index ¶
- func AESDecryptCBC(encodedData, key string, IV ...string) string
- func AESEncryptCBC(message, key string, IV ...string) string
- func HmacMD5(s, key string) string
- func HmacSHA1(s, key string) string
- func HmacSHA256(s, key string) string
- func HmacSHA512(s, key string) string
- func MD5Sum(s string) string
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(data []byte) ([]byte, error)
- func SHA1Sum(s string) string
- func SHA256Sum(s string) string
- func SHA512Sum(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESDecryptCBC ¶
func AESEncryptCBC ¶
func HmacSHA256 ¶
func HmacSHA512 ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.