Documentation ¶
Index ¶
- type Encryptor
- func (e *Encryptor) AesDecrypt(data []byte) int
- func (e *Encryptor) AesEncrypt(data []byte) error
- func (e *Encryptor) AesGetPadding(dataLen int) []byte
- func (e *Encryptor) SetAesKey(password string)
- func (e *Encryptor) SetXorKey(password string)
- func (e *Encryptor) XorDecrypt(data []byte)
- func (e *Encryptor) XorEncrypt(data []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encryptor ¶
type Encryptor struct {
// contains filtered or unexported fields
}
func (*Encryptor) AesDecrypt ¶
func (*Encryptor) AesEncrypt ¶
func (*Encryptor) AesGetPadding ¶
func (*Encryptor) XorDecrypt ¶
func (*Encryptor) XorEncrypt ¶
Click to show internal directories.
Click to hide internal directories.