Appearance
IsValidKeySize Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Crypto.dll
Overloads
| Name | Description |
|---|---|
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 |
bool IsValidKeySize(SymmetricAlgorithm input, byte[] key)
csharp
bool IsValidKeySize(SymmetricAlgorithm input, byte[] key)Checks if input byte is a valid key length for current cipher implementation
Returns
true if valid key length, else false
bool IsValidKeySize(SymmetricAlgorithm input, int keyLength)
csharp
bool IsValidKeySize(SymmetricAlgorithm input, int keyLength)Checks if input byte is a valid key length for current cipher implementation
Returns
true if valid key length, else false