IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

KeyG Property

Represents the G parameter for the Elgamal algorithm.

Syntax

ANSI (Cross Platform)
int GetKeyG(char* &lpKeyG, int &lenKeyG);
int SetKeyG(const char* lpKeyG, int lenKeyG); Unicode (Windows) INT GetKeyG(LPSTR &lpKeyG, INT &lenKeyG);
INT SetKeyG(LPCSTR lpKeyG, INT lenKeyG);
@property (nonatomic,readwrite,assign,getter=keyG,setter=setKeyG:) NSString* keyG;
- (NSString*)keyG;
- (void)setKeyG:(NSString*)newKeyG;

@property (nonatomic,readwrite,assign,getter=keyGB,setter=setKeyGB:) NSData* keyGB; - (NSData*)keyGB; - (void)setKeyGB:(NSData*)newKeyG;
#define PID_ELGAMAL_KEYG 3

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

Default Value

""

Remarks

Represents the G parameter for the Elgamal algorithm.

Data Type

Binary String

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