RE: RE: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-23 Thread John Horton
e > >ebc mode > >with all the problems which come with it? > >JH > > > >-Original Message- > > From: Vinod Panicker [mailto:[EMAIL PROTECTED]] > >Sent: 22 May 2002 10:06 > >To: Jimmy Lantz > >Cc: [EMAIL PROTECTED] > >Subject: Re: RE: [PHP]

RE: [PHP] Mcrypt: Blowfish or Twofish or no fish?

2002-05-23 Thread John Horton
ad of MD5, as there appears to be some concern with > MD5 over it's compression function. > HTH > JH > > -Original Message- > From: Jimmy Lantz [mailto:[EMAIL PROTECTED]] > Sent: 21 May 2002 17:28 > To: [EMAIL PROTECTED] > Subject: [PHP] Mcrypt: Blowfish or Two

Re: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread Evan Nemerson
Ah it would be a good idea to use the hash as a checksum- especially if you encrypt in ECB On Wednesday 22 May 2002 01:30 am, Jimmy Lantz wrote: > >I believe that twofish has been successfully broken, so use blowfish > >instead. Typically, for encrypting files you will use an algorithm like > >

Re: [PHP] Mcrypt: Blowfish or Twofish or no fish?

2002-05-22 Thread Evan Nemerson
o be some concern with > MD5 over it's compression function. > HTH > JH > > -Original Message- > From: Jimmy Lantz [mailto:[EMAIL PROTECTED]] > Sent: 21 May 2002 17:28 > To: [EMAIL PROTECTED] > Subject: [PHP] Mcrypt: Blowfish or Twofish or no fish? >

Re: RE: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread Evan Nemerson
blems which come with it? > >JH > > > >-Original Message- > > From: Vinod Panicker [mailto:[EMAIL PROTECTED]] > >Sent: 22 May 2002 10:06 > >To: Jimmy Lantz > >Cc: [EMAIL PROTECTED] > >Subject: Re: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish?

Re: [PHP] Mcrypt: Blowfish or Twofish or no fish? Part 2

2002-05-22 Thread Thalis A. Kalfigopoulos
On Wed, 22 May 2002, Jimmy Lantz wrote: > 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

RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 4

2002-05-22 Thread J Smith
I always hate mentioning this 'cause I feel like an attention whore or something, but nevertheless, I can't get the thing tested thouroughly without a bit of whoring... I've been working on a crypto extension for PHP for a while now, and since you guys seem into the crypto thing, you might li

Re: RE: RE: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread Vinod Panicker
s in ebc and text files in cbc? >JH >-Original Message- > From: Vinod Panicker [mailto:[EMAIL PROTECTED]] >Sent: 22 May 2002 10:25 >To: John Horton >Cc: [EMAIL PROTECTED]; Jimmy Lantz >Subject: Re: RE: RE: [PHP] Mcrypt: Blowfish or Twofish or no >fish? part >

RE: RE: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread John Horton
: John Horton Cc: [EMAIL PROTECTED]; Jimmy Lantz Subject: Re: RE: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3 And why not use AES, which is an industry standard and having being proven as the best encryption algorithm in recent times? http://csrc.nist.gov/encryption/aes/aesfact.html As

Re: RE: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread Vinod Panicker
nal Message- > From: Vinod Panicker [mailto:[EMAIL PROTECTED]] >Sent: 22 May 2002 10:06 >To: Jimmy Lantz >Cc: [EMAIL PROTECTED] >Subject: Re: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? >part 3 > > >There is no use of hashing in file-encryption except to u

RE: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread John Horton
or Twofish or no fish? part 3 There is no use of hashing in file-encryption except to use it as a check - to see if the decrypted file matches the original file. To do this check, you can use either MD5 or SHA1. The choice is urs. If ur looking for a good encryption algorithm, you might want

RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread John Horton
with the algorithm (or the data was corrupted somehow). Hashes are typically used as sanity checks in this way. JH -Original Message- From: Jimmy Lantz [mailto:[EMAIL PROTECTED]] Sent: 22 May 2002 09:31 To: [EMAIL PROTECTED] Subject: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

Re: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread Vinod Panicker
There is no use of hashing in file-encryption except to use it as a check - to see if the decrypted file matches the original file. To do this check, you can use either MD5 or SHA1. The choice is urs. If ur looking for a good encryption algorithm, you might want to consider AES (Rijndael).

RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread Jimmy Lantz
>I believe that twofish has been successfully broken, so use blowfish >instead. Typically, for encrypting files you will use an algorithm like >blowfish in cbc mode (as opposed to ebc mode) but I don't know if Mcrypt >supports this. Also, when creating the hash of the file, it is probably best >

RE: [PHP] Mcrypt: Blowfish or Twofish or no fish?

2002-05-22 Thread John Horton
st to use SHA-1 instead of MD5, as there appears to be some concern with MD5 over it's compression function. HTH JH -Original Message- From: Jimmy Lantz [mailto:[EMAIL PROTECTED]] Sent: 21 May 2002 17:28 To: [EMAIL PROTECTED] Subject: [PHP] Mcrypt: Blowfish or Twofish or no fish? H

RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? Part 2

2002-05-21 Thread Ray Hunter
:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 12:58 AM To: [EMAIL PROTECTED] 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

Re: [PHP] Mcrypt: Blowfish or Twofish or no fish? Part 2

2002-05-21 Thread Vinod Panicker
Yes Jimmy, you are correct. MD5 is a one-way hash. Its used for getting a unique fingerprint of some data (like files / passwords etc) so that it can be compared with another MD5 hash. Thats the point of a hashing algorithm like MD5 and SHA1 - you should never need to decrypt the data. Refe

[PHP] Mcrypt: Blowfish or Twofish or no fish? Part 2

2002-05-21 Thread Jimmy Lantz
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 someon

Re: [PHP] Mcrypt: Blowfish or Twofish or no fish?

2002-05-21 Thread Thalis A. Kalfigopoulos
On Tue, 21 May 2002, Jimmy Lantz wrote: > Hi, > started playing with Mcrypt and just wanted to ask which encryption method > makes the stronger encryption? > (I can supply the necesary keylength). > Should I go for MCRYPT_BLOWFISH or MCRYPT_TWOFISH? Or no fish at all :) > > So what do I need it

Re: [PHP] Mcrypt: Blowfish or Twofish or no fish?

2002-05-21 Thread Sqlcoders.com Programming Dept
;d be a warning on the Mcrypt page). HTH, Dw Sqlcoders.com Dynamic data driven web solutions - Original Message - From: "Jimmy Lantz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: May 21 2002 09:27 AM Subject: [PHP] Mcrypt: Blowfish or Twofish or no fish? &

[PHP] Mcrypt: Blowfish or Twofish or no fish?

2002-05-21 Thread Jimmy Lantz
Hi, started playing with Mcrypt and just wanted to ask which encryption method makes the stronger encryption? (I can supply the necesary keylength). Should I go for MCRYPT_BLOWFISH or MCRYPT_TWOFISH? Or no fish at all :) So what do I need it for? I'm going to use it encrypting files, sizes vari