Interface KeyCreator

    • 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 computation power is required. Reasonable values depend on the algorithm: A recent value for RSA is 4096 bits while for PBKDF2 256 may be sufficient.