RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? Part 2
| From: | Ray Hunter | Date: | Wed, 22 May 2002 07:12:43 +0000 |
| Subject: | RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? Part 2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98697@lists.php.net to get a copy of this message | ||
Jimmy,
You could md5 something and send it encrypted and then verify the md5,
something similar to sharing keys...md5 is similar to a key...i use it
as something similar to kerberos...
And yes, MD5 is a one-way hash...which comes in handy...
Just remember that bigger is almost always better. I would suggest
trying all three (blocksize, keylength, and both) and see which one
works best for you. You should see how your system deals with it and
then decide...I like to have bigger keylenghts personally...
Thanks,
Ray Hunter
-----Original Message-----
From: Jimmy Lantz [mailto:jimmy.lantz@lusidor.com]
Sent: Wednesday, May 22, 2002 12:58 AM
To: php-general@lists.php.net
Subject: [PHP] Mcrypt: Blowfish or Twofish or no fish? Part 2
Thanx for the suggestions!
Someone mentioned that I could use MD5 and then encrypt the hash, how
would I ever decrypt that? Is'nt MD5 a 1-way thing only?
Another question?
Should I go for bigger keylength or bigger blocksize or both? What makes
for the best encryption?
/ Jim
(and before someone suggest that I read the book Applied cryptography
it's
already orderd and on it's way :-) )
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php