Documentation ¶
Index ¶
- func AesCbcNoDecode(key []byte, data []byte) ([]byte, error)
- func AesCbcNoEncode(key []byte, data []byte) ([]byte, error)
- func AesCbcPKCS5Decode(key []byte, data []byte) ([]byte, error)
- func AesCbcPKCS5Encode(key []byte, data []byte) ([]byte, error)
- func AesCbcPKCS7Decode(key []byte, data []byte) ([]byte, error)
- func AesCbcPKCS7Encode(key []byte, data []byte) ([]byte, error)
- func AesCbcZeroDecode(key []byte, data []byte) ([]byte, error)
- func AesCbcZeroEncode(key []byte, data []byte) ([]byte, error)
- func AesCfbNoDecode(key []byte, data []byte) ([]byte, error)
- func AesCfbNoEncode(key []byte, data []byte) ([]byte, error)
- func AesCfbPKCS5Decode(key []byte, data []byte) ([]byte, error)
- func AesCfbPKCS5Encode(key []byte, data []byte) ([]byte, error)
- func AesCfbPKCS7Decode(key []byte, data []byte) ([]byte, error)
- func AesCfbPKCS7Encode(key []byte, data []byte) ([]byte, error)
- func AesCfbZeroDecode(key []byte, data []byte) ([]byte, error)
- func AesCfbZeroEncode(key []byte, data []byte) ([]byte, error)
- func AesCtrNoDecode(key []byte, data []byte) ([]byte, error)
- func AesCtrNoEncode(key []byte, data []byte) ([]byte, error)
- func AesCtrPKCS5Decode(key []byte, data []byte) ([]byte, error)
- func AesCtrPKCS5Encode(key []byte, data []byte) ([]byte, error)
- func AesCtrPKCS7Decode(key []byte, data []byte) ([]byte, error)
- func AesCtrPKCS7Encode(key []byte, data []byte) ([]byte, error)
- func AesCtrZeroDecode(key []byte, data []byte) ([]byte, error)
- func AesCtrZeroEncode(key []byte, data []byte) ([]byte, error)
- func AesEcbNoDecode(key []byte, data []byte) ([]byte, error)
- func AesEcbNoEncode(key []byte, data []byte) ([]byte, error)
- func AesEcbPKCS5Decode(key []byte, data []byte) ([]byte, error)
- func AesEcbPKCS5Encode(key []byte, data []byte) ([]byte, error)
- func AesEcbPKCS7Decode(key []byte, data []byte) ([]byte, error)
- func AesEcbPKCS7Encode(key []byte, data []byte) ([]byte, error)
- func AesEcbZeroDecode(key []byte, data []byte) ([]byte, error)
- func AesEcbZeroEncode(key []byte, data []byte) ([]byte, error)
- func AesGcmNoDecode(key []byte, data []byte) ([]byte, error)
- func AesGcmNoEncode(key []byte, data []byte) ([]byte, error)
- func AesGcmPKCS5Decode(key []byte, data []byte) ([]byte, error)
- func AesGcmPKCS5Encode(key []byte, data []byte) ([]byte, error)
- func AesGcmPKCS7Decode(key []byte, data []byte) ([]byte, error)
- func AesGcmPKCS7Encode(key []byte, data []byte) ([]byte, error)
- func AesGcmZeroDecode(key []byte, data []byte) ([]byte, error)
- func AesGcmZeroEncode(key []byte, data []byte) ([]byte, error)
- func AesOfbNoDecode(key []byte, data []byte) ([]byte, error)
- func AesOfbNoEncode(key []byte, data []byte) ([]byte, error)
- func AesOfbPKCS5Decode(key []byte, data []byte) ([]byte, error)
- func AesOfbPKCS5Encode(key []byte, data []byte) ([]byte, error)
- func AesOfbPKCS7Decode(key []byte, data []byte) ([]byte, error)
- func AesOfbPKCS7Encode(key []byte, data []byte) ([]byte, error)
- func AesOfbZeroDecode(key []byte, data []byte) ([]byte, error)
- func AesOfbZeroEncode(key []byte, data []byte) ([]byte, error)
- func AnsiX923Padding(plainText []byte, blockSize int) ([]byte, error)
- func AnsiX923UnPadding(cipherText []byte) ([]byte, error)
- func FileMd5(path string) (string, error)
- func FileSha224(path string) (string, error)
- func FileSha256(path string) (string, error)
- func FileSha384(path string) (string, error)
- func FileSha512(path string) (string, error)
- func FileSha512_224(path string) (string, error)
- func FileSha512_256(path string) (string, error)
- func HmacMd5(key, data string) string
- func HmacSha224(key, data string) string
- func HmacSha256(key, data string) string
- func HmacSha384(key, data string) string
- func HmacSha512(key, data string) string
- func Iso10126Padding(plainText []byte, blockSize int) ([]byte, error)
- func Iso10126UnPadding(cipherText []byte) ([]byte, error)
- func Md5[M string | []byte](s M) string
- func Md5WithReader(file io.Reader) (string, error)
- func NoPadding(data []byte, size int) ([]byte, error)
- func NoUnPadding(data []byte) ([]byte, error)
- func PKCS5Padding(plainText []byte, blockSize int) ([]byte, error)
- func PKCS5UnPadding(cipherText []byte) ([]byte, error)
- func PKCS7Padding(data []byte, size int) ([]byte, error)
- func PKCS7UnPadding(data []byte) ([]byte, error)
- func Sha224[M string | []byte](s M) string
- func Sha224WithReader(file io.Reader) (string, error)
- func Sha256[M string | []byte](s M) string
- func Sha256WithReader(file io.Reader) (string, error)
- func Sha384[M string | []byte](s M) string
- func Sha384WithReader(file io.Reader) (string, error)
- func Sha512[M string | []byte](s M) string
- func Sha512WithReader(file io.Reader) (string, error)
- func Sha512_224[M string | []byte](s M) string
- func Sha512_224WithReader(file io.Reader) (string, error)
- func Sha512_256[M string | []byte](s M) string
- func Sha512_256WithReader(file io.Reader) (string, error)
- func UUID() string
- func ZeroPadding(data []byte, size int) ([]byte, error)
- func ZeroUnPadding(cipherText []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesCbcNoDecode ¶
AesCbcNoDecode AES解密 加密模式:CBC 填充:No
func AesCbcNoEncode ¶
AesCbcNoEncode AES加密 加密模式:CBC 填充:No
func AesCbcPKCS5Decode ¶
AesCbcPKCS5Decode AES解密 加密模式:CBC 填充:PKCS5
func AesCbcPKCS5Encode ¶
AesCbcPKCS5Encode AES加密 加密模式:CBC 填充:PKCS5
func AesCbcPKCS7Decode ¶
AesCbcPKCS7Decode AES解密 加密模式:CBC 填充:PKCS7
func AesCbcPKCS7Encode ¶
AesCbcPKCS7Encode AES加密 加密模式:CBC 填充:PKCS7
func AesCbcZeroDecode ¶
AesCbcZeroDecode AES解密 加密模式:CBC 填充:Zero
func AesCbcZeroEncode ¶
AesCbcZeroEncode AES加密 加密模式:CBC 填充:Zero
func AesCfbNoDecode ¶
AesCfbNoDecode AES解密 加密模式:CFB 填充:No
func AesCfbNoEncode ¶
AesCfbNoEncode AES加密 加密模式:CFB 填充:No
func AesCfbPKCS5Decode ¶
AesCfbPKCS5Decode AES解密 加密模式:CFB 填充:PKCS5
func AesCfbPKCS5Encode ¶
AesCfbPKCS5Encode AES加密 加密模式:CFB 填充:PKCS5
func AesCfbPKCS7Decode ¶
AesCfbPKCS7Decode AES解密 加密模式:CFB 填充:PKCS7
func AesCfbPKCS7Encode ¶
AesCfbPKCS7Encode AES加密 加密模式:CFB 填充:PKCS7
func AesCfbZeroDecode ¶
AesCfbZeroDecode AES解密 加密模式:CFB 填充:Zero
func AesCfbZeroEncode ¶
AesCfbZeroEncode AES加密 加密模式:CFB 填充:Zero
func AesCtrNoDecode ¶
AesCtrNoDecode AES解密 加密模式:CTR 填充:No
func AesCtrNoEncode ¶
AesCtrNoEncode AES加密 加密模式:CTR 填充:No
func AesCtrPKCS5Decode ¶
AesCtrPKCS5Decode AES解密 加密模式:CTR 填充:PKCS5
func AesCtrPKCS5Encode ¶
AesCtrPKCS5Encode AES加密 加密模式:CTR 填充:PKCS5
func AesCtrPKCS7Decode ¶
AesCtrPKCS7Decode AES解密 加密模式:CTR 填充:PKCS7
func AesCtrPKCS7Encode ¶
AesCtrPKCS7Encode AES加密 加密模式:CTR 填充:PKCS7
func AesCtrZeroDecode ¶
AesCtrZeroDecode AES解密 加密模式:CTR 填充:Zero
func AesCtrZeroEncode ¶
AesCtrZeroEncode AES加密 加密模式:CTR 填充:Zero
func AesEcbNoDecode ¶
AesEcbNoDecode AES解密 加密模式:ECB 填充:No
func AesEcbNoEncode ¶
AesEcbNoEncode AES加密 加密模式:ECB 填充:No
func AesEcbPKCS5Decode ¶
AesEcbPKCS5Decode AES解密 加密模式:ECB 填充:PKCS5
func AesEcbPKCS5Encode ¶
AesEcbPKCS5Encode AES加密 加密模式:ECB 填充:PKCS5
func AesEcbPKCS7Decode ¶
AesEcbPKCS7Decode AES解密 加密模式:ECB 填充:PKCS7
func AesEcbPKCS7Encode ¶
AesEcbPKCS7Encode AES加密 加密模式:ECB 填充:PKCS7
func AesEcbZeroDecode ¶
AesEcbZeroDecode AES解密 加密模式:ECB 填充:Zero
func AesEcbZeroEncode ¶
AesEcbZeroEncode AES加密 加密模式:ECB 填充:Zero
func AesGcmNoDecode ¶
AesGcmNoDecode AES解密 加密模式:GCM 填充:No
func AesGcmNoEncode ¶
AesGcmNoEncode AES加密 加密模式:GCM 填充:No
func AesGcmPKCS5Decode ¶
AesGcmPKCS5Decode AES解密 加密模式:GCM 填充:PKCS5
func AesGcmPKCS5Encode ¶
AesGcmPKCS5Encode AES加密 加密模式:GCM 填充:PKCS5
func AesGcmPKCS7Decode ¶
AesGcmPKCS7Decode AES解密 加密模式:GCM 填充:PKCS7
func AesGcmPKCS7Encode ¶
AesGcmPKCS7Encode AES加密 加密模式:GCM 填充:PKCS7
func AesGcmZeroDecode ¶
AesGcmZeroDecode AES解密 加密模式:GCM 填充:Zero
func AesGcmZeroEncode ¶
AesGcmZeroEncode AES加密 加密模式:GCM 填充:Zero
func AesOfbNoDecode ¶
AesOfbNoDecode AES解密 加密模式:OFB 填充:No
func AesOfbNoEncode ¶
AesOfbNoEncode AES加密 加密模式:OFB 填充:No
func AesOfbPKCS5Decode ¶
AesOfbPKCS5Decode AES解密 加密模式:OFB 填充:PKCS5
func AesOfbPKCS5Encode ¶
AesOfbPKCS5Encode AES加密 加密模式:OFB 填充:PKCS5
func AesOfbPKCS7Decode ¶
AesOfbPKCS7Decode AES解密 加密模式:OFB 填充:PKCS7
func AesOfbPKCS7Encode ¶
AesOfbPKCS7Encode AES加密 加密模式:OFB 填充:PKCS7
func AesOfbZeroDecode ¶
AesOfbZeroDecode AES解密 加密模式:OFB 填充:Zero
func AesOfbZeroEncode ¶
AesOfbZeroEncode AES加密 加密模式:OFB 填充:Zero
func AnsiX923Padding ¶
AnsiX923Padding ansi x9.23填充
func AnsiX923UnPadding ¶
AnsiX923UnPadding ansi x9.23去除填充
func FileSha224 ¶
func FileSha256 ¶
func FileSha384 ¶
func FileSha512 ¶
func FileSha512_224 ¶
func FileSha512_256 ¶
func HmacSha224 ¶
func HmacSha256 ¶
func HmacSha384 ¶
func HmacSha512 ¶
func Iso10126Padding ¶
Iso10126Padding iso-10126填充
func Iso10126UnPadding ¶
Iso10126UnPadding iso-10126去除填充
func PKCS5Padding ¶
PKCS5Padding PKCS5填充
func PKCS5UnPadding ¶
PKCS5UnPadding PKCS5去除填充
func Sha512_224 ¶
func Sha512_256 ¶
Types ¶
This section is empty.