Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AESEncryptor ¶
type AESEncryptor struct {
// contains filtered or unexported fields
}
func (*AESEncryptor) Key ¶
func (ae *AESEncryptor) Key(key []byte) Encryptor
type PlainEncryptor ¶
type PlainEncryptor struct{}
func (*PlainEncryptor) Decrypt ¶
func (pe *PlainEncryptor) Decrypt(cipherText []byte) ([]byte, error)
func (*PlainEncryptor) Encrypt ¶
func (pe *PlainEncryptor) Encrypt(plainText []byte) ([]byte, error)
func (*PlainEncryptor) Key ¶
func (pe *PlainEncryptor) Key(key []byte) Encryptor
Click to show internal directories.
Click to hide internal directories.