A symmetric key block cipher is a function that maps n-bit plaintext
blocks to n-bit ciphertext blocks; n being the cipher's block size.
This encryption function is parameterised by a k-bit key, and is invertible.
Its inverse is the decryption function.

Possible initialisation values for an instance of this type are:

The block size in which to operate this block cipher instance. This
value is optional, if unspecified, the block cipher's default
block size shall be used.

The byte array containing the user supplied key material to use for
generating the cipher's session key(s). This value is mandatory
and should be included in the initialisation parameters. If it isn't,
an IllegalStateException will be thrown if any method, other than
reset() is invoked on the instance. Furthermore, the size of
this key material shall be taken as an indication on the key size in which
to operate this instance.

IMPLEMENTATION NOTE: Although all the concrete classes in this
package implement the Cloneable interface, it is important to note
here that such an operation DOES NOT clone any session key material
that may have been used in initialising the source cipher (the instance to be
cloned). Instead a clone of an already initialised cipher is another instance
that operates with the same block size but without any knowledge of
neither key material nor key size.

Version:

$Revision: 1.2 $

Field Summary

static java.lang.String

CIPHER_BLOCK_SIZE
Property name of the block size in which to operate a block cipher.