TurboPower LockBox how can one use AES with a byte array as key

819 Views Asked by At

I want to encrypt a file but i have the key as a byte array. I do not want to use a password. Is it possible ?

1

There are 1 best solutions below

1
On

Use the TCodec.InitFromStream() method. Refer to the on-line help.

Also see the tutorial on encrypting a file.