IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

Algorithm Property

The TEA algorithm.

Syntax

ANSI (Cross Platform)
int GetAlgorithm();
int SetAlgorithm(int iAlgorithm); Unicode (Windows) INT GetAlgorithm();
INT SetAlgorithm(INT iAlgorithm);

Possible Values

TA_XXTEA(0), 
TA_XTEA(1),
TA_TEA(2)
@property (nonatomic,readwrite,assign,getter=algorithm,setter=setAlgorithm:) int algorithm;
- (int)algorithm;
- (void)setAlgorithm:(int)newAlgorithm;

Possible Values

TA_XXTEA(0), 
TA_XTEA(1),
TA_TEA(2)
#define PID_TEA_ALGORITHM 1

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

Default Value

0

Remarks

This property specifies the TEA algorithm to use. It is recommended to use the XXTEA (Corrected Block TEA) algorithm for security reasons. Possible values are:

0 (taXXTEA - default) Correct Block TEA
1 (taXTEA) eXtended TEA
2 (taTEA) TEA (Tiny Encryption Algorithm)

Data Type

Integer

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