The SecretKey property lets you set the encryption or decryption key to be used when encrypting or decrypting data using a secret-key encryption algorithm.
The length of the secret key determines the amount of bits that the encryption algorithm will use for encryption, and can only be set to a valid key size (128, 192 or 256 bits for Rijndael or Twofish ) or the library will raise an error.
Byte array variant
Null
Encrypt, Decrypt, ReadFile, WriteFile, ProcessFile, ToString and FromString
Declaration (IXceedEncryption) | Copy Code |
---|---|
|