Re: cipher advice

From: GravityTester (kevinmSomewhereAtsafeenv.com)
Date: 04/13/04


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
>



Relevant Pages

  • [Full-disclosure] Questions regarding cryptography laws
    ... This is my first time posting software on sourceforge, ... Posting of open source encryption is controlled under U.S. Export Control Classification Number "ECCN" 5D002 and must be simultaneously reported by email to the U.S. government. ... I am in Canada, so i assume this does not apply to me. ...
    (Full-Disclosure)
  • Re: [Full-disclosure] Questions regarding cryptography laws
    ... This is my first time posting software on sourceforge, ... Posting of open source encryption is controlled under ... I am in Canada, so i assume this does not apply to me. ...
    (Full-Disclosure)
  • Re: [Full-disclosure] Questions regarding cryptography laws
    ... This is my first time posting software on sourceforge, ... Posting of open source encryption is controlled under U.S. ... I am in Canada, so i assume this does not apply to me. ...
    (Full-Disclosure)
  • Re: Simple Encryption
    ... SourceForge at http://sourceforge.net/projects/tplockbox/. ... -- Larry Maturo ... password for storing in a file so the encryption should be quite strong. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Turbo Power
    ... If you are interested in becoming a developer on one of the TurboPower Open ... > Since you got a foot in TurboPower's door, ... > SourceForge, but no files have ever been released. ...
    (borland.public.delphi.thirdpartytools.general)