UseAEAD Property
Whether to use AEAD (Authenticated Encryption with Additional Data).
Syntax
ANSI (Cross Platform) int GetUseAEAD();
int SetUseAEAD(int bUseAEAD); Unicode (Windows) BOOL GetUseAEAD();
INT SetUseAEAD(BOOL bUseAEAD);
@property (nonatomic,readwrite,assign,getter=useAEAD,setter=setUseAEAD:) BOOL useAEAD; - (BOOL)useAEAD; - (void)setUseAEAD:(BOOL)newUseAEAD;
#define PID_CHACHA_USEAEAD 11 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_ChaCha_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_ChaCha_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
If this property is set to True the class uses the algorithm AEAD_CHACHA20_POLY1305 as defined in RFC 7539 to construct a message using AEAD. See Encrypt and Decrypt for details.
Data Type
Boolean