1

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 ?

EchoRo
  • 119
  • 1
  • 11

1 Answers1

1

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

Also see the tutorial on encrypting a file.

Sean B. Durkin
  • 12,659
  • 1
  • 36
  • 65