Documentation
¶
Index ¶
Constants ¶
View Source
const ( // UnknownCipherType 未知加密 UnknownCipherType = iota // SimpleCipherType 简单加密 SimpleCipherType // AES128CipherType AES128加密 AES128CipherType )
Variables ¶
View Source
var DefaultCipher func() Cipher
DefaultCipher 默认Cipher的构造方法
Functions ¶
Types ¶
type SimpleCipher ¶
type SimpleCipher struct {
// contains filtered or unexported fields
}
SimpleCipher 简单加密
Click to show internal directories.
Click to hide internal directories.