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).
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}.
Returns the cipher algorithm name that will be used for all encryption, decryption, and key operations (for example, 'AES', 'Blowfish', 'RSA', 'DSA', 'TripleDES', etc).
Returns the size in bits (not bytes) of generated cipher keys.
Sets the size in bits (not bytes) of generated cipher keys.
Returns the algorithm-specific size in bits of generated initialization vectors.
Sets the algorithm-specific initialization vector size in bits (not bytes!) to be used when generating initialization vectors. The value must be a multiple of {@code 8} to ensure that the IV can be represented as a byte array.
Returns the size in bytes of the internal buffer used to transfer data from one stream to another during stream operations ({@link #encrypt(java.io.InputStream, java.io.OutputStream, byte[])} and {@link #decrypt(java.io.InputStream, java.io.OutputStream, byte[])}). <p/> Default size is {@code 512} bytes.
Sets the size in bytes of the internal buffer used to transfer data from one stream to another during stream operations ({@link #encrypt(java.io.InputStream, java.io.OutputStream, byte[])} and {@link #decrypt(java.io.InputStream, java.io.OutputStream, byte[])}). <p/> Default size is {@code 512} bytes.
Base abstract class for supporting symmetric key cipher algorithms.
@since 1.0