EncryptionAlgorithm Property
The encryption algorithm.
Syntax
public var encryptionAlgorithm: HadoopdfsEncryptionAlgorithms
public enum class HadoopdfsEncryptionAlgorithms(val value: Int) {
eaAES(0),
eaBlowfish(1),
eaCAST(2),
eaDES(3),
eaIDEA(4),
eaRC2(5),
eaRC4(6),
eaTEA(7),
eaTripleDES(8),
eaTwofish(9),
eaRijndael(10),
eaChaCha(11),
eaXSalsa20(12);
}
Default Value
0
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) | 128 |
5 (eaRC2) | 128 |
6 (eaRC4) | 2048 |
7 (eaTEA) | 128 |
8 (eaTripleDES) | 192 |
9 (eaTwofish) | 256 |
10 (eaRijndael) | 256 |
11 (eaChaCha) | 256 |
12 (eaXSalsa20) | 256 |