SymmetricAlgorithmBase |
Name | Description |
---|---|
![]() | Returns the currently set block size in bits. |
![]() | Sets the current block size to be used. |
![]() | Returns the current feedback size in bits. |
![]() | Sets the current feedback size in bits to be used. |
![]() | Returns the currently set key size to be used. |
![]() | Sets the new key size value to be used. |
![]() | Returns a list of legal block sizes. |
![]() | Returns a list of legal key sizes. |
![]() | Returns the current cipher mode to be used. |
![]() | Sets the cipher mode to be used. |
![]() | Returns the current padding to be used. |
![]() | Sets the padding mode to be used. |
Name | Description |
---|---|
![]() | Adds a new KeySizes object with the specified values to the list of legal block sizes. |
![]() | Adds a new KeySizes object with the supplied values to the list of legal key sizes. |
![]() | Clears the IV and Key values. |
![]() | Returns a clone of an IV. |
![]() | Returns a clone of a key. |
![]() | Generates a random IV value. |
![]() | Generates a new random key. |
![]() | Returns the current IV value. |
![]() | Returns the current secret key. |
![]() | Sets the current IV value. |
![]() | Sets the current secret key. |
![]() | Checks if a bit length is a valid key size in bits. |
Name | Description |
---|---|
![]() | Used for implementations that must check for some kind of weak or semi-weak key. |
The base class implements many of the details necessary for implementing a Symmetric Cryptographic Algorithm. By utilizing the base class the implementor can quickly provide a new implementation that is consistent with the existing implementations without the need to manage lower level details.