algorithm (property)
The symmetric algorithm.
Syntax
@property (nonatomic,readwrite,assign,getter=algorithm,setter=setAlgorithm:) int algorithm; - (int)algorithm; - (void)setAlgorithm:(int)newAlgorithm;
/* Possible Values */
EZ_AES(0),
EZ_BLOWFISH(1),
EZ_CAST(2),
EZ_DES(3),
EZ_IDEA(4),
EZ_RC2(5),
EZ_RC4(6),
EZ_TEA(7),
EZ_TRIPLE_DES(8),
EZ_TWOFISH(9),
EZ_RIJNDAEL(10),
EZ_CHA_CHA(11),
EZ_XSALSA_20(12)
public var algorithm: EzcryptAlgorithms { get {...}
set {...} }
public enum EzcryptAlgorithms : Int32 { case ezAES = 0 case ezBlowfish = 1 case ezCAST = 2 case ezDES = 3 case ezIDEA = 4 case ezRC2 = 5 case ezRC4 = 6 case ezTEA = 7 case ezTripleDES = 8 case ezTwofish = 9 case ezRijndael = 10 case ezChaCha = 11 case ezXSalsa20 = 12 }
Default Value
0
Remarks
This property specifies the symmetric algorithm to use. Possible values are:
- 0 (AES - default)
- 1 (Blowfish)
- 2 (CAST)
- 3 (DES)
- 4 (IDEA)
- 5 (RC2)
- 6 (RC4)
- 7 (TEA)
- 8 (TripleDES)
- 9 (Twofish)
- 10 (Rijndael)
- 11 (ChaCha)
- 12 (XSalsa20)