Documentation ¶
Index ¶
- func AesDecryptByPkcs5Padding(crypted []byte, key []byte, iv []byte) ([]byte, error)
- func AesDecryptByPkcs7Padding(crypted []byte, key []byte, iv []byte) ([]byte, error)
- func AesDecryptForB64AndHexKeyByPkcs5Padding(origDataB64 string, keyHex string, ivHex string) ([]byte, error)
- func AesDecryptForB64AndHexKeyByPkcsP7adding(origDataB64 string, keyHex string, ivHex string) ([]byte, error)
- func AesDecryptForB64ByPkcs5Padding(origDataB64 string, key []byte, iv []byte) ([]byte, error)
- func AesDecryptForB64ByPkcs7Padding(origDataB64 string, key []byte, iv []byte) ([]byte, error)
- func AesEncryptByPkcs5Padding(origData []byte, key []byte, iv []byte) ([]byte, error)
- func AesEncryptByPkcs7Padding(origData []byte, key []byte, iv []byte) ([]byte, error)
- func AesEncryptForHexKeyByPkcs5Padding(origData []byte, keyHex string, ivHex string) ([]byte, error)
- func AesEncryptForHexKeyByPkcs7Padding(origData []byte, keyHex string, ivHex string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecryptByPkcs5Padding ¶ added in v1.0.24
func AesDecryptByPkcs7Padding ¶ added in v1.0.24
func AesDecryptForB64AndHexKeyByPkcs5Padding ¶ added in v1.0.24
func AesDecryptForB64AndHexKeyByPkcsP7adding ¶ added in v1.0.24
func AesDecryptForB64ByPkcs5Padding ¶ added in v1.0.24
func AesDecryptForB64ByPkcs7Padding ¶ added in v1.0.24
func AesEncryptByPkcs5Padding ¶ added in v1.0.24
func AesEncryptByPkcs7Padding ¶ added in v1.0.24
func AesEncryptForHexKeyByPkcs5Padding ¶ added in v1.0.24
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.