PDA

View Full Version : Which encryption ?


markh51
12-20-2005, 01:01 PM
I am looking for a encryption which would allow me to use 8 secret bytes as the key to generate 8 encrypted bytes back.

I have been browsing on google and this site, but most encryptions I come across output much more than 8 bytes.

I am using delphi for this project and stubbled across:
http://www.efg2.com/Lab/Library/Delphi/MathFunctions/Cryptography.htm

but I am totaly lost at which one I could use.

Any help is always appreciated.

Maximus
12-20-2005, 03:20 PM
DES should have an effective mmh...54? BITkey, out of a 64 BIT (8 byte) one.
It should be fine for you.
With such short key, don't hope to make a safe cipher, but..
--edit-----
I wrote Byte instead of BIT, sorry!

LLXX
12-20-2005, 06:03 PM
Quote:
[Originally Posted by markh51]I have been browsing on google and this site, but most encryptions I come across output much more than 8 bytes.
Why don't you just randomly select 8 bytes of the output?

dELTA
12-24-2005, 03:12 PM
Quote:
Why don't you just randomly select 8 bytes of the output?
Err, maybe because he'd like to decrypt it again?

Anyway, blowfish would be a good alternative for you markh51.

markh51
12-24-2005, 04:08 PM
Ok, guys... thanks for the comments.

markh51
12-24-2005, 04:10 PM
dELTA has good a good point

LLXX
12-24-2005, 08:32 PM
Quote:
[Originally Posted by dELTA]Err, maybe because he'd like to decrypt it again?

Anyway, blowfish would be a good alternative for you markh51.
I see... I thought he was just trying to generate a hash.

este
01-17-2006, 03:46 AM
I'm working on some blowfish code right now. I like it alot.

REALLY fast once you have the subkeys generated. Uncrackable. Simple as pie to code. etc etc Pretty easy to modify too,