IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

KeyPassword Property

A password to generate the Key and IV .

Syntax

ANSI (Cross Platform)
char* GetKeyPassword();
int SetKeyPassword(const char* lpszKeyPassword); Unicode (Windows) LPWSTR GetKeyPassword();
INT SetKeyPassword(LPCWSTR lpszKeyPassword);
@property (nonatomic,readwrite,assign,getter=keyPassword,setter=setKeyPassword:) NSString* keyPassword;
- (NSString*)keyPassword;
- (void)setKeyPassword:(NSString*)newKeyPassword;
#define PID_EZCRYPT_KEYPASSWORD 7

IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_EzCrypt_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_EzCrypt_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

When this property is set the class will calculate values for Key and IV using the PKCS5 password digest algorithm. This provides a simpler alternative to creating and managing Key and IV values directly.

The size of the Key generated is dependent on the value of KeySize.

Data Type

String

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