Documentation
¶
Index ¶
- func NewAES(key []byte) (Cipher, error)
- func NewAESWith(key []byte, mode CipherMode) (Cipher, error)
- func NewDES(key []byte) (Cipher, error)
- func NewDESWith(key []byte, mode CipherMode) (Cipher, error)
- func NewRSA(key rsa.Key) (rsa.Cipher, error)
- func NewRSAWith(key rsa.Key, padding rsa.Padding, cipherMode rsa.CipherMode, ...) (rsa.Cipher, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAES ¶
介绍:创建默认的AES Cipher,使用ECB工作模式、pkcs57填充,算法秘钥长度128 192 256 位 , 使用秘钥作为初始向量
作者:Alex 版本:release-1.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.