This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or key agreement.
Stream ciphers are supported as well as asymmetric, symmetric and block ciphers. Cipher implementations from different providers can be integrated using the SPI (Service Provider Interface) abstract classes.
Authentication may be based on MAC (Message Authentication Code) such as HMAC (Hash MAC, i.e. with a SHA-1 hash function).
|SecretKey||A cryptographic secret (symmetric) key.|
|Mac||This class provides the public API for Message Authentication Code (MAC) algorithms.|
|MacSpi||The Service-Provider Interface (SPI) definition for the
|ShortBufferException||The exception that is thrown when the result of an operation is attempted to store in a user provided buffer that is too small.|