Documentation ¶
Index ¶
- func DeCryptBlocks(dst, src []byte, block cipher.Block)
- func EnCryptBlocks(encryptData, src []byte, block cipher.Block)
- func F处理密钥(keystr string) (genKey []byte)
- func F处理密钥格式(key ...string) []byte
- func F是否包含中文(str string) bool
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(src []byte) ([]byte, error)
- type N新ase
- func (a *N新ase) AesDecryptCBC(encrypted []byte) (decrypted []byte, err error)
- func (a *N新ase) AesDecryptCFB(encrypted []byte) (decrypted []byte, err error)
- func (a *N新ase) AesDecryptECB(encrypted []byte) (decrypted []byte, err error)
- func (a *N新ase) AesEncryptCBC(origData []byte) (encrypted []byte, err error)
- func (a *N新ase) AesEncryptCFB(origData []byte) (encrypted []byte, err error)
- func (a *N新ase) AesEncryptECB(origData []byte) (encrypted []byte, err error)
- func (a *N新ase) F加密信息(body string) (string, error)
- func (a *N新ase) F解密信息(body string) (string, error)
- type S3Desc加解密
- type SASE加解密
- type S加解密接口
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeCryptBlocks ¶
func EnCryptBlocks ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
type N新ase ¶
func (*N新ase) AesDecryptCBC ¶
func (*N新ase) AesDecryptCFB ¶
func (*N新ase) AesDecryptECB ¶
func (*N新ase) AesEncryptCBC ¶
=================== CBC ======================
func (*N新ase) AesEncryptCFB ¶
=================== CFB ======================
func (*N新ase) AesEncryptECB ¶
=================== ECB ======================
type S3Desc加解密 ¶
func F新建3Desc加解密 ¶
Click to show internal directories.
Click to hide internal directories.