Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptCBC ¶
DecryptCBC CBC模式解密
Types ¶
type AESEncryptor ¶
type AESEncryptor interface { EncryptToString(plaintext, key string) (string, error) DecryptToString(ciphertext, key string) (string, error) }
AESEncryptor ...
func NewCBCCipher ¶
func NewCBCCipher() AESEncryptor
Click to show internal directories.
Click to hide internal directories.