[PHP] Re: MCrypt not decrypting simple text

2008-03-21 Thread Dan
Ok, looks like I'm not getting much intrest here, can anyone recomend which newsgroup I should post this under? Is there a crypto group or anything of the like?: - Dan Dan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using MCrypt and I have two very simple functions. All

[PHP] RE: mcrypt

2006-01-13 Thread Duffy, Scott E
Doh! Nm. _ From: Duffy, Scott E Sent: Friday, January 13, 2006 11:47 AM To: 'php-general@lists.php.net' Subject: mcrypt Trying to encrypt then decrypt text with php using mcrypt. The encrypt seems to work but when I decrypt it with a different script

[PHP] Re: [suspicious - maybe spam] Re: [PHP] Re: mcrypt public and private key

2005-02-05 Thread Daniel Bowett
Richard Lynch wrote: Daniel Bowett wrote: Marek Kilimajer wrote: Daniel Bowett wrote: Hi, I have been reading up on the mcrypt function. Is it possible to use it with a public and private key pair or just with a single key? Cheers. mcrypt supports only single key Is there anything out there that

[PHP] Re: mcrypt public and private key

2005-02-04 Thread Daniel Bowett
Marek Kilimajer wrote: Daniel Bowett wrote: Hi, I have been reading up on the mcrypt function. Is it possible to use it with a public and private key pair or just with a single key? Cheers. mcrypt supports only single key Is there anything out there that supports public/private key other than

[PHP] [suspicious - maybe spam] Re: [PHP] Re: mcrypt public and private key

2005-02-04 Thread Richard Lynch
Daniel Bowett wrote: Marek Kilimajer wrote: Daniel Bowett wrote: Hi, I have been reading up on the mcrypt function. Is it possible to use it with a public and private key pair or just with a single key? Cheers. mcrypt supports only single key Is there anything out there that

[PHP] Re: Mcrypt functions

2003-06-04 Thread Jay Smith
Daniel Rychlik wrote: Hello, I have been playing with the mycrypt function. Im having a bit of trouble understanding why it is important to use a vector IV. I was wandering if there is a reasonably powerful encryption algorithm. That uses a key only instead of getting the block size and

RE: [PHP] Re: Mcrypt functions

2003-06-04 Thread Daniel Rychlik
$decrypted, - Decrypted data...br/; -Original Message- From: Jay Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:58 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Mcrypt functions Daniel Rychlik wrote: Hello, I have been playing with the mycrypt function. Im having a bit

RE: [PHP] Re: Mcrypt functions

2003-06-04 Thread Jay Smith
You're using the same input for both encryption and decryption. Change the decryption line to $decrypted = mcrypt_ecb(MCRYPT_BLOWFISH, $key, $encrypted, MCRYPT_DECRYPT, $iv); srand() isn't doing anything here, you can get rid of it. Also, the IV does nothing here, it is ignored in ECB mode. Try

[PHP] Re: mcrypt installation problems

2003-02-05 Thread Jean-Christian Imbeault
I fixed my problem. For archive purposes (as of PHP 4.3.0), to install mcrypt support you only need to install libmcrypt. No need for mcrypt, or mhash ... forget anything else you might read. The installation problem I had was indeed a bug in PHP which I am happy to say is fixed in the latest

Re: [PHP] Re: mcrypt 2.4.x - trouble with small data fields?

2002-12-04 Thread Tom Rogers
Hi, Wednesday, December 4, 2002, 3:39:10 PM, you wrote: Is there a minimum field size for using mcrypt? SY Boy I feel dumb now. :) My answer was in my post. Mcrypt returns a SY string that is usually longer than the original string, since the return has SY to be a multiple of the block

[PHP] Re: mcrypt 2.4.x - trouble with small data fields?

2002-12-03 Thread Steve Yates
Is there a minimum field size for using mcrypt? Boy I feel dumb now. :) My answer was in my post. Mcrypt returns a string that is usually longer than the original string, since the return has to be a multiple of the block size used. So a 2-character string takes blocksize characters when

[PHP] Re: mcrypt or libmcrypt with PHP 4.2.1

2002-07-02 Thread Richard Lynch
Does anyone have problem with libmcrypt with PHP? With older version of PHP and libmcrypt, it work just fine and when I use the newer version, PHP 4.2.1 and libmcrypt 2.5.2. It does not work. I check with php_info() and it showed the mcrypt on it and it is supported. Does it require a

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

2002-05-21 Thread Javier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What about MD5? 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

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

2002-05-21 Thread Ray Hunter
MD5 is not that secure compared to blowfish or twofish or the other types of encryption available with mcrypt... Thanks, Ray Hunter -Original Message- From: Javier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 2:43 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Mcrypt

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

2002-05-21 Thread Thalis A. Kalfigopoulos
Message- From: Javier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 2:43 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Mcrypt: Blowfish or Twofish or no fish? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What about MD5? Jimmy Lantz wrote: | Hi, | started playing with Mcrypt

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

2002-05-21 Thread Sqlcoders.com Programming Dept
What about MD5? MD5 is a message digest I believe, something akin to the oldstyle CRC32. Then again I haven't used it much (just to verify a client's credit card number without revealing the CC number). HTH, Dw. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

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

2002-05-21 Thread Javier
PROTECTED] |Subject: [PHP] Re: Mcrypt: Blowfish or Twofish or no fish? | | |-BEGIN PGP SIGNED MESSAGE- |Hash: SHA1 | |What about MD5? | |Jimmy Lantz wrote: || Hi, || started playing with Mcrypt and just wanted to ask which encryption || method makes the stronger encryption? (I can supply

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

2002-05-21 Thread 1LT John W. Holmes
I imagine he would want to un-encrypt his files at some point and MD5 is a one-way method and not an encryption technique at all... ---John Holmes... - Original Message - From: Javier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 4:43 PM Subject: [PHP] Re: Mcrypt

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

2002-05-21 Thread Ray Hunter
Message- From: Thalis A. Kalfigopoulos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 2:47 PM To: Ray Hunter Cc: 'Javier'; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Mcrypt: Blowfish or Twofish or no fish? On Tue, 21 May 2002, Ray Hunter wrote: MD5 is not that secure compared to blowfish

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

2002-05-21 Thread Ray Hunter
AM To: php general Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Mcrypt: Blowfish or Twofish or no fish? What about MD5? MD5 is a message digest I believe, something akin to the oldstyle CRC32. Then again I haven't used it much (just to verify a client's credit card number without revealing

[PHP] Re: mcrypt? - Can't find any good info

2002-03-07 Thread Michael Kimsal
Nick Richardson wrote: I'm getting this error: Warning: mcrypt module initialization failed in /home/www/common.php on line 314 When running this code: ?php function encryptPassword($password) { $key = randomString(); $code = mcrypt_ecb(MCRYPT_BLOWFISH_128, $key, $password,

Re: [PHP] Re: Mcrypt fails to run

2001-07-13 Thread Christopher Ostmo
Gigi pressed the little lettered thingies in this order... Hi, Try upgrading to 4.0.6. I think there are known pb with 4.0.4 and mcrypt. Regards, --Gildas. -- /-*-\ | Systèmes Technologies | Tél: +33 2 96438787 |

[PHP] Re: Mcrypt fails to run

2001-07-11 Thread Gigi
Hi, Try upgrading to 4.0.6. I think there are known pb with 4.0.4 and mcrypt. Regards, --Gildas. -- /-*-\ | Systèmes Technologies | Tél: +33 2 96438787 | | Informatiques du Ponant | Fax: +33 2 96438788 | | 27, rue