Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AES = &aeser{}
AES 加密算法
Functions ¶
Types ¶
type AesMode ¶
type AesMode int
const ( // ECB 加密模式:https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#ECB // ECB 模式存在安全性问题,不建议使用,详见:https://crypto.stackexchange.com/questions/20941/why-shouldnt-i-use-ecb-encryption/20946#20946 ECB AesMode = iota // CBC 加密模式:https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#CBC CBC )
Click to show internal directories.
Click to hide internal directories.