Initialize this cipher with the supplied key and parameters.
The cipher will be initialized for encryption, decryption, key
wrapping, or key unwrapping, depending upon whether the
opmode
argument is
ENCRYPT_MODE
,
DECRYPT_MODE
,
WRAP_MODE
, or
UNWRAP_MODE
,
respectively.
If this cipher requires any random bytes (for example for an
initilization vector) then the
SecureRandom
with the highest priority is used as the source of these bytes.
A call to any of the
init
methods overrides the
state of the instance, and is equivalent to creating a new instance
and calling its
init
method.