-
- All Known Implementing Classes:
KeyConfig
,PbeAccess
,SymmetricAccess
,SymmetricKeyConfig
,SymmetricKeyConfigPbe
public interface AbstractGetKeyLength
Interface toget
thekey-length
.- Since:
- 1.0.0-beta1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getKeyLength()
-
-
-
Method Detail
-
getKeyLength
int getKeyLength()
- Returns:
- the length of the key in bits. The bigger the key length the stronger and more secure the encryption but
also the more performance is required for computation. Reasonable values depend on the
algorithm
: A recent value for RSA is 4096 bits while for PBKDF2 256 is sufficient. However, recommended and secure values change over time as computing power is increasing. Therefore you should research the web to find an accurate value.
-
-