Documentation ¶
Index ¶
- func AesDecrypt(cryptData, key []byte) ([]byte, error)
- func AesEncrypt(origData, key []byte) ([]byte, error)
- func HmacSha256Sign(secret string, data string) []byte
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func Sha2562Bytes(data []byte) []byte
- func Sha2562String(data string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecrypt ¶
func AesEncrypt ¶
func HmacSha256Sign ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
func Sha2562Bytes ¶
func Sha2562String ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.