Sets the current key to the specified value and changes the KeySize accordingly.
Namespace:
Rebex.Security.Cryptography
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Sub SetKey ( _ key As Byte() _ ) |
C# |
---|
public void SetKey( byte[] key ) |
Parameters
- key
- Type: array<System..::..Byte>[]()[][]
Key. Cannot be null.