EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Example of encrypting using AES

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
Posted: 01/05/2007 12:08:20
by Debbie Croft (Basic support level)
Joined: 01/02/2007
Posts: 3

Are there any examples of encrypting a stream using AES? I want to supply a password (not have one automatically generated) and use this to encrypt a file. I then want another user to be able to *decrypt* this file using the password (and not have to worry about the IV).
Posted: 01/05/2007 12:12:10
by Ken Ivanov (EldoS Corp.)

Please take a look at TElMessageEncryptor/TElMessageDecryptor classes. They allow to encrypt/decrypt data with generic key material (i.e., a raw sequence of bytes). This generic key can be obtained as a result of applying some hash function to the password string.



Topic viewed 2488 times

Number of guests: 2, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!