AbstractSymmetricCipherService.generateNewKey

Generates a new {@link java.security.Key Key} suitable for this CipherService's {@link #getAlgorithmName() algorithm} by calling {@link #generateNewKey(int) generateNewKey(128)} (uses a 128 bit size by default).

@return a new {@link java.security.Key Key}, 128 bits in length.

  1. Key generateNewKey()
    class AbstractSymmetricCipherService
    Key
    generateNewKey
    ()
  2. Key generateNewKey(int keyBitSize)

Meta