Iterations Property
The number of iterations to perform.
Syntax
ANSI (Cross Platform) int GetIterations();
int SetIterations(int iIterations); Unicode (Windows) INT GetIterations();
INT SetIterations(INT iIterations);
@property (nonatomic,readwrite,assign,getter=iterations,setter=setIterations:) int iterations; - (int)iterations; - (void)setIterations:(int)newIterations;
#define PID_PBKDF_ITERATIONS 2 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
10000
Remarks
This property specifies the number of iterations to perform when deriving the key. Larger values require more time to derive a key, however they also make password cracking more difficult by increasing the amount of time required to derive each key.
The recommended minimum number of iterations is 1000, and larger values such as 10,000 are common. The default value is 10000.
Data Type
Integer