Version Property
The PBKDF version.
Syntax
ANSI (Cross Platform) int GetVersion();
int SetVersion(int iVersion); Unicode (Windows) INT GetVersion();
INT SetVersion(INT iVersion);
Possible Values
V_PBKDF1(0),
V_PBKDF2(1)
@property (nonatomic,readwrite,assign,getter=version,setter=setVersion:) int version; - (int)version; - (void)setVersion:(int)newVersion;
Possible Values
V_PBKDF1(0),
V_PBKDF2(1)
#define PID_PBKDF_VERSION 8 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_PBKDF_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_PBKDF_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
1
Remarks
This property specifies the PBKDF version to be used. It is recommended to use PBKDF2 for new applications. PBKDF1 is included only for compatibility with existing applications and is not recommended.
Possible values are:
- 0 (vPBKDF1)
- 1 (vPBKDF2 - default)
Data Type
Integer