KDF Property
The key derivation function used during encryption and decryption.
Syntax
ANSI (Cross Platform) char* GetKDF();
int SetKDF(const char* lpszKDF); Unicode (Windows) LPWSTR GetKDF();
INT SetKDF(LPCWSTR lpszKDF);
@property (nonatomic,readwrite,assign,getter=KDF,setter=setKDF:) NSString* KDF; - (NSString*)KDF; - (void)setKDF:(NSString*)newKDF;
#define PID_ECC_KDF 11 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_ECC_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_ECC_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
"KDF2"
Remarks
This property specifies the key derivation function (KDF) to use when encrypting and decrypting. Possible values are:
- "KDF1"
- "KDF2" (Default)
This property is only applicable when calling Encrypt or Decrypt.
Data Type
String