encryptionAlgorithm (property)
The encryption algorithm to use.
Syntax
@property (nonatomic,readwrite,assign,getter=encryptionAlgorithm,setter=setEncryptionAlgorithm:) int encryptionAlgorithm; - (int)encryptionAlgorithm; - (void)setEncryptionAlgorithm:(int)newEncryptionAlgorithm;
/* Possible Values */
IES_AES(0),
IES_TRIPLE_DES(1),
IES_XOR(2)
public var encryptionAlgorithm: EccEncryptionAlgorithms { get {...}
set {...} }
public enum EccEncryptionAlgorithms : Int32 { case iesAES = 0 case iesTripleDES = 1 case iesXOR = 2 }
Default Value
0
Remarks
This setting specifies the encryption algorithm to use when Encrypt is called. This must also be set before calling Decrypt to match the algorithm used during the initial encryption.
Possible values are:
- 0 (iesAES - default)
- 1 (iesTripleDES)
- 2 (iesXOR)