Re: cipher advice
From: GravityTester (kevinmSomewhereAtsafeenv.com)
Date: Tue, 13 Apr 2004 09:50:21 -0700
Check out LockBox by (the late great) TurboPower. Its been open sourced and
is available for free on the SourceForge website. It has all the major
encryption algorithms (RSA, Blowfish, Rijndael...), plus a lot of hashing
algorithms included. It comes with source, components and a PDF manual.
You probably want to hash your passphrase with MD5 and use the resulting
128-bit hash as a key to initialize Blowfish. Store the encrypted buffer as
hex or you won't be able to read the file with READLNs or open the file with
a text editor. If you use a binary stream to disk, you won't have to bother
with hex - just dump the encrypted buffer to disk.
The LockBox lib has (I think) buffer-> hex and hex->buffer functions. It
may be in one of the other open sourced TurboPower libs though.
There is an unbelievable amount of free Delphi components on SourceForge.
Check out the rest of the site while you are there. Use the search tool on
the top level web page.
Good luck and happy crypting.
----- Original Message -----
From: "sergio" <email@example.com>
Sent: Monday, April 12, 2004 06:54
Subject: cipher advice
> I need to populate a ComboBox component using ciphered data stored in a
> file. Any advice on which cipher to use for data encryption? Of course it
> has to be done using Delphi.