| Package | Description |
|---|---|
| javax.crypto | |
| javax.crypto.spec |
| Class and Description |
|---|
| BadPaddingException
This exception is thrown when a particular padding mechanism is expected for the input data but the data is not
padded properly.
|
| Cipher
This class provides the functionality of a cryptographic cipher for encryption and decryption.
|
| IllegalBlockSizeException
This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the
block size of the cipher.
|
| Mac
This class provides the functionality of a "Message Authentication Code" (MAC) algorithm.
|
| NoSuchPaddingException
This exception is thrown when a particular padding mechanism is requested but is not available in the environment.
|
| SecretKey
A secret (symmetric) key.
|
| SecretKeyFactory
This class represents a factory for secret keys.
|
| ShortBufferException
This exception is thrown when an output buffer provided by the user is too short to hold the operation result.
|
| Class and Description |
|---|
| SecretKey
A secret (symmetric) key.
|