IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

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)
The KDFHashAlgorithm specifies the hash algorithm used in conjunction with the specified KDF.

This property is only applicable when calling Encrypt or Decrypt.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 C++ Edition - Version 20.0 [Build 8155]