Appearance
SymmetricAlgorithmExtensions Class
Definition
Extensions for SymmetricAlgorithm Type
- Namespace:
JASE.Extensions - Assembly:
JASE.Crypto.dll
Methods
| Name | Description |
|---|---|
int GetMaxKeySize(SymmetricAlgorithm input) | Iterates LegalKeySizes of the current Algorithm and returns the Maximum keysize allowed |
int GetMinKeySize(SymmetricAlgorithm input) | Iterates LegalKeySizes of the current Algorithm and returns the Minimum keysize allowed |
bool IsValidKeySize(SymmetricAlgorithm input, byte[] key) | Checks if input byte is a valid key length for current cipher implementation |
bool IsValidKeySize(SymmetricAlgorithm input, int keyLength) | Checks if input byte is a valid key length for current cipher implementation |