EncryptionAlgorithm Property
The encryption algorithm.
Syntax
public int getEncryptionAlgorithm(); public void setEncryptionAlgorithm(int encryptionAlgorithm);
Enumerated values: public final static int eaAES = 0; public final static int eaBlowfish = 1; public final static int eaCAST = 2; public final static int eaDES = 3; public final static int eaIDEA = 4; public final static int eaRC2 = 5; public final static int eaRC4 = 6; public final static int eaTEA = 7; public final static int eaTripleDES = 8; public final static int eaTwofish = 9;
Remarks
This property specifies the encryption algorithm to be used. The maximum allowable key size is automatically used for the selected algorithm. Possible values are:
Algorithm | Key Size |
0 (eaAES - default) | 256 |
1 (eaBlowfish) | 448 |
2 (eaCAST) | 128 |
3 (eaDES) | 64 |
4 (eaIDEA) | 127 |
5 (eaRC2) | 128 |
6 (eaRC4) | 2048 |
7 (eaTEA) | 128 |
8 (eaTripleDES) | 192 |
9 (eaTwofish) | 256 |
Default Value
0