AbstractSymmetricCipherService.generateNewKey

Generates a new {@link Key Key} of the specified size suitable for this CipherService (based on the {@link #getAlgorithmName() algorithmName} using the JDK {@link javax.crypto.KeyGenerator KeyGenerator}.

@param keyBitSize the bit size of the key to create @return the created key suitable for use with this CipherService

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

Meta