Algorithm Property
The symmetric algorithm.
Syntax
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)