Re: cipher advice
From: GravityTester (kevinmSomewhereAtsafeenv.com)
Date: 04/13/04
- Next message: sergio: "floating point arithmetic problems"
- Previous message: Roberto Colpani: "bar code"
- In reply to: sergio: "cipher advice"
- Next in thread: Kitson Kelly: "Re: cipher advice"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 13 Apr 2004 09:50:21 -0700
Sergio,
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.
See:
http://sourceforge.net/projects/tplockbox/
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.
Kevin
----- Original Message -----
From: "sergio" <fake@eunet.yu>
Newsgroups: comp.lang.pascal.delphi.misc
Sent: Monday, April 12, 2004 06:54
Subject: cipher advice
> I need to populate a ComboBox component using ciphered data stored in a
.txt
> file. Any advice on which cipher to use for data encryption? Of course it
> has to be done using Delphi.
>
> TIA
>
- Next message: sergio: "floating point arithmetic problems"
- Previous message: Roberto Colpani: "bar code"
- In reply to: sergio: "cipher advice"
- Next in thread: Kitson Kelly: "Re: cipher advice"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|