// Encrypt returns the encrypted data
Encrypt returns the encrypted data
// Encrypt returns the encrypted data
func (ae *AESEncrypter) Encrypt(data []byte) []byte {
	ret := make([]byte, len(data))
	mode := cipher.NewCBCEncrypter(ae.block, ae.encryptionIV)
	mode.CryptBlocks(ret, data)
	return ret
}
func ( ae * AESEncrypter ) Encrypt ( data [ ] byte ) [ ] byte { ret := make ( [ ] byte , len ( data ) ) mode := cipher . NewCBCEncrypter ( ae . block , ae . encryptionIV ) mode . CryptBlocks ( ret , data ) return ret }
Encrypt returns the encrypted data
Encrypt returns the encrypted data