Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESDecrypt ¶
AESDecrypt aes中的CFB解密
Types ¶
type DefaultPasswordCipherHelper ¶
type DefaultPasswordCipherHelper struct {
}
func (DefaultPasswordCipherHelper) Decrypt ¶
func (client DefaultPasswordCipherHelper) Decrypt(encrypted, seed, key string) string
Decrypt 解密算法
func (DefaultPasswordCipherHelper) Encrypt ¶
func (client DefaultPasswordCipherHelper) Encrypt(str, seed, key string) string
Encrypt 加密算法
type PasswordCipherHelper ¶
type PasswordCipherHelper interface {
Encrypt(str, seed, key string) string
Decrypt(encryptedStr, seed, key string) string
}
func NewPasswordCipherHelper ¶
func NewPasswordCipherHelper() PasswordCipherHelper
Click to show internal directories.
Click to hide internal directories.