Re: [PHP] Mcrypt Function - New to it

2002-05-30 Thread Tom Ray
Well now I have the Encryption problem figured out but when I try to decrypt the information, I'm getting this error: Warning: mcrypt module initialization failed in test.php on line 11 Here's Line 11: $text = mcrypt_decrypt (MCRYPT_TripleDES, $key, $lockdata, MCRPYT_MODE_ECB, $iv); again

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

2002-05-23 Thread John Horton
I was mixing up with the attack against twofish with reduced rounds (I think this is true of blowfish with reduced rounds as well ) -Original Message- From: Evan Nemerson [mailto:[EMAIL PROTECTED]] Sent: 22 May 2002 22:57 To: John Horton; [EMAIL PROTECTED] Subject: Re: [PHP] Mcrypt

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

2002-05-23 Thread John Horton
:[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 use it as a check - to see if the decrypted file matches the original file

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

2002-05-22 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

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

2002-05-22 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.

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

2002-05-22 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 only

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

2002-05-22 Thread John Horton
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? Hi, started

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 to

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 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 I

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

2002-05-22 Thread Vinod Panicker
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 use it as a check - to see if the decrypted file matches the original

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

2002-05-22 Thread John Horton
To: 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

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

2002-05-22 Thread Vinod Panicker
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 3 And why not use AES, which is an industry standard

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

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: RE: RE: [PHP] Mcrypt: Blowfish or Twofish or no fish? part 3

2002-05-22 Thread Evan Nemerson
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 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

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

2002-05-22 Thread Evan Nemerson
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? Hi, started playing with Mcrypt and just wanted to ask which encryption method makes

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

[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

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

2002-05-21 Thread Sqlcoders.com Programming Dept
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? Hi, started playing with Mcrypt

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 for?

[PHP] mcrypt...

2002-05-06 Thread Brian McGarvie
I have uncommented the .dll extension in my php.ini however the functions are still unavailable? What am I doing wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mcrypt...

2002-05-06 Thread Brian McGarvie
has ne1 got php_mcrypt.dll or the source code for it? the website for it seems to be unavailable. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mcrypt...

2002-05-06 Thread John Holmes
PROTECTED] Subject: [PHP] mcrypt... I have uncommented the .dll extension in my php.ini however the functions are still unavailable? What am I doing wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List

[PHP] mcrypt kills Apache children

2002-03-24 Thread Thalis A. Kalfigopoulos
I have PHP4.1.2 with libmcrypt4.2.22. I had a script that worked just fine yesterday testing an mcrypt scenario, and (of course) today it just kills the httpd serving the page and I get this in error_log: [Sun Mar 24 08:31:36 2002] [notice] child pid 1049 exit signal Segmentation fault (11)

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

2002-03-07 Thread Nick Richardson
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, MCRYPT_ENCRYPT); print($code = enc

[PHP] Mcrypt-problems

2002-02-08 Thread Trond Arve Nordheim
Hi! I'm trying to encrypt some password using TripleDES-encryption here... I've followed the documentation for the mcrypt-libraries, but I get a warning (all though it -does- encrypt the text) every time I try to encrypt something; Warning: attempt to use an empty IV, which is NOT recommend My

[PHP] MCrypt and Encrypting Data

2002-01-03 Thread Devin
Dear PHP Users, I am trying to take like an e-mail message and then encrypt it into a database and then be able to decrypt it and get the same result back. I have been unsuccessful in doing so. I have libmcrypt 2.5.6 installed, I also installed mhash 0.8.13 and have PHP compiled to support both

[PHP] MCrypt and Encrypting Data (fwd)

2002-01-03 Thread Devin
Dear PHP Users, I am trying to take like an e-mail message and then encrypt it into a database and then be able to decrypt it and get the same result back. I have been unsuccessful in doing so. I have libmcrypt 2.5.6 installed, I also installed mhash 0.8.13 and have PHP compiled to support both

[PHP] mcrypt segfault (still)

2001-09-05 Thread Robert Mena
Hi, a couple of weeks ago I posted a problem with mcrypt under php with at least 4.0.5,4.0.6 and 4.0.7-dev. The server works ok until you use a mcrypt function (it segfaults). The bug has been reported in bugs.php.net and assigned. Unfortunately so far no solution or news regarding this.

[PHP] mcrypt

2001-08-28 Thread Power Programmer
I use mcrypt to encrypt passwords, I saw somewhere international users had trouble with the high ascii. is the any functions that can convert the high ascii to hex or something ? Thanks Randy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system

Re: [PHP] mcrypt

2001-08-28 Thread Jason Brooke
I use mcrypt to encrypt passwords, I saw somewhere international users had trouble with the high ascii. is the any functions that can convert the high ascii to hex or something ? Thanks Randy Have a squiz here: http://www.php.net/manual/en/ref.strings.php -- PHP General Mailing

RE: [PHP] mcrypt

2001-08-28 Thread Power Programmer
I looked at those and still don't know which one i should use any ideas?? -Original Message- From: Jason Brooke [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 6:49 AM To: Power Programmer Cc: [EMAIL PROTECTED] Subject: Re: [PHP] mcrypt I use mcrypt to encrypt passwords

[PHP] mcrypt trouble, still

2001-08-23 Thread Dominic Schanen
Well, in response to my previous post and its reply, the server administrator tried reinstalling mcrypt and did the testing during the install and it all seemed to work for him there. However, I still get the error: Warning: mcrypt module initialization failed So, now my question is this. In

Re: [PHP] mcrypt trouble, still

2001-08-23 Thread Andrew Libby
Dominic, These locations can be set by in php.ini or passed as parameters to the mcrypt functions they pretain to (notably those used to initialize). Andy On Thu, Aug 23, 2001 at 07:24:42AM -0500, Dominic Schanen wrote: Well, in response to my previous post and its reply, the server

[PHP] Mcrypt: just a little tip:-)

2001-08-22 Thread Alex Piaz
Hi Folks! I am working on a project where I need to encrypt some data that will be decrypted later by a visual basic application and also receive encrypted data from that application and decrypt it on the webserver. To exchange the data, I did some xml and everything went fine, but I can't

[PHP] mcrypt trouble

2001-08-21 Thread Dominic Schanen
Hello, I'm trying to do mcrypt encryption but I continue to get the following error: Warning: mcrypt module initialization failed and this is the line of code that I get the error from: $string = mcrypt_cbc(MCRYPT_DES, $key, $test, encrypt); I've also tried several different version of using

Re: [PHP] mcrypt trouble

2001-08-21 Thread Andrew Libby
Dominic, I'd start by checking the libmcrypt installation. If you're building from source, prior to your installation check that [mcrypt-src-dir]/src/cipher_test runs without error. If that succedes, install libmcrypt (and mcrypt) and then attempt to test with the command line. Start by

[PHP] Mcrypt: just a little tip:-)

2001-08-21 Thread Alex Piaz
Hi Folks! I am working on a project where I need to encrypt some data that will be decrypted later by a visual basic application and also receive encrypted data from that application and decrypt it on the webserver. To exchange the data, I did some xml and everything went fine, but I can't

[PHP] Mcrypt Coding Problem

2001-07-20 Thread John Peebles
Hi Everyone, When I try to execute the code below, I don't get any errors, but the data is never decrypted. I have tried tons of different people's code, but to no avail. Any help would be appreciated. Here is my code: $data= mcrypt_ecb(MCRYPT_TripleDES, $key, $data, ENCRYPT); echo data: $data;

[PHP] mcrypt for win32

2001-07-10 Thread Troy Moreland
Can anyone explain how to install the Win32 version of mcrypt? I've downloaded the Win32 zip file and there are no docs on how to install. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Mcrypt fails to run

2001-07-10 Thread Dixie Flatline
Greetings! I'm running Debian Potato 2.2.19 with php 4.0.4-pl1. I'd recently compiled an Mcrypt.so module, then added the extension line into my php.ini file. After reloading Apache and trying to run any php script which includes ANY mcrypt related function, the code immediately halts and no

[PHP] mcrypt

2001-07-08 Thread Power Programmer
I have compiled PHP with mcrypt and it works fine if I run a script from the command line but through a browswer such as IE I get the following error: Fatal error: Call to undefined function: mcrypt_module_open() in /home/wheit/html/test.php on line 6 What do I need to do to be able to

RE: [PHP] mcrypt

2001-07-08 Thread Ben Bleything
Programmer [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 12:29 PM To: [EMAIL PROTECTED]; Keyser Soze; [EMAIL PROTECTED] Subject: [PHP] mcrypt I have compiled PHP with mcrypt and it works fine if I run a script from the command line but through a browswer such as IE I get the following

[PHP] Mcrypt Part2

2001-07-08 Thread Power Programmer
What causes this error when apache is starting? # ./apachectl startssl Syntax error on line 238 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: libmcrypt.so.4: cannot open shared object file: No such file or directory ./apachectl startssl:

Re: [PHP] Mcrypt Part2

2001-07-08 Thread Chris Anderson
: Sunday, July 08, 2001 5:16 PM Subject: [PHP] Mcrypt Part2 What causes this error when apache is starting? # ./apachectl startssl Syntax error on line 238 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: libmcrypt.so.4: cannot open shared

RE: [PHP] mcrypt

2001-07-08 Thread Power Programmer
Message- From: Ben Bleything [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 3:36 PM To: 'Power Programmer'; [EMAIL PROTECTED]; 'Keyser Soze'; [EMAIL PROTECTED] Subject: RE: [PHP] mcrypt Have you made sure that the php on the command line and the php that apache is using are indeed

[PHP] mcrypt error

2001-06-21 Thread Tyler Longren
Here's the error: Warning: mcrypt module initialization failed in /home2/golfballs.net/www/includes/crypt_lib.php on line 35 Here's line 35: $result = mcrypt_cbc($cipher, $key, $cc_num, $mode); Becuase of the above warning, credit card numbers can't be viewed on the 'recieved orders' page.

[PHP] Mcrypt + urlencode : how to pass encrypted values

2001-05-07 Thread Robert Mena
Hi I am developing an application which will encrypt (using mcrypt library) some data. Everyting is ok except the fact that I can no longer have links (GET) passing the values. For ex. I used to have a href=script.php?plaintext=foobar now I need to pass that foobar value encrypted. a

Re: [PHP] mcrypt module for Win32

2001-04-27 Thread Carsten Gehling
From: Maxim Maletsky [EMAIL PROTECTED] Sent: Friday, April 27, 2001 5:00 AM I think PEAR has it. have you tried to look at it? Found it, thanks! It contains HCE_MD5, but AFAICT it does not utilize the other encryption modes found in mcrypt. But it doesn't matter - I think this is fine for

Re: [PHP] Mcrypt

2001-04-26 Thread Curtis Maurand
Did I hear anyone say SSL? Curtis On Thu, 26 Apr 2001, Alex Piaz wrote: Hi All! It's my first post:-) I am working on a php web application that has to interchange encrypted data to a VB windows standalone exe. Does anybody know the best way to do it?? I am making some tests with

[PHP] Mcrypt

2001-04-26 Thread Alex Piaz
Hi All! It's my first post:-) I am working on a php web application that has to interchange encrypted data to a VB windows standalone exe. Does anybody know the best way to do it?? I am making some tests with mcrypt_module using the BLOWFISH algorithm. On the web enviromment I can encrypt

RE: [PHP] mcrypt module for Win32

2001-04-26 Thread Maxim Maletsky
5:16 AM To: [EMAIL PROTECTED] Subject: [PHP] mcrypt module for Win32 Where can I find a win32 version of the mcrypt module? - Carsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] mcrypt help please

2001-04-25 Thread ryan.barnett1
Does anyone know how to install the mcrypt libraries for PHP in windows? I'm running: Apache 1.3.12 PHP 4.0.2 Windows 98 I've downloaded libmcrypt-2.4.5b-win32.zip (I think that this contains everything I need.) I just need to

[PHP] mcrypt and encrypted field length

2001-02-26 Thread Hardy Merrill
First, can anyone point me to a good "mcrypt" primer or tutorial? Second, how can I determine what type and length I should make a database field that will hold encrypted data? Is there some table somewhere which tells how long a resulting encrypted field will be based on the encryption type

[PHP] mcrypt!

2001-02-14 Thread Kevin Connolly
Hi, Does anyone know where I might get the mcrypt dll for windows nt or win 98?? Thanks, Kev

Re: [PHP] mcrypt!

2001-02-14 Thread Alexander Wagner
Kevin Connolly wrote: Does anyone know where I might get the mcrypt dll for windows nt or win 98?? I dunno, but you could try http://www.php4win.de regards Wagner -- Three may keep a secret, if two of them are dead. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] mcrypt!

2001-02-14 Thread Phillip Bow
The latest version should be at: ftp://argeas.cs-net.gr/pub/unix/mcrypt/win32/ -- phill Kevin Connolly wrote: Does anyone know where I might get the mcrypt dll for windows nt or win 98?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

<    1   2