EchoRo
EchoRo

Reputation: 119

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

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 ?

Upvotes: 1

Views: 836

Answers (1)

Sean B. Durkin
Sean B. Durkin

Reputation: 12729

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

Also see the tutorial on encrypting a file.

Upvotes: 1

Related Questions