Hi all,
I'm looking at a way of encrypting AND decrypting a string (cc#) with a key.
I plan to store the key in a file outside the docroot, and have asked the
ISP for as much advice as possible to protect the key file.
Anyway, since it needs to be encrypted and decrypted with a key, I obviously
Justin French wrote:
I'm getting the following error using 4.1.1:
Fatal error: Call to undefined function: mcrypt_create_iv() in
/usr/local/apache/htdocs/tests/enc.php on line 3
Which is confusing, given that the manual says mcrypt_create_iv() is
available in PHP 4.
Looks like your ISP
on 15/07/02 12:41 PM, Joe Conway ([EMAIL PROTECTED]) wrote:
Looks like your ISP doesn't have mcrypt support. What does phpinfo() show?
Well, that was on my local test server, which I didn't compile with
mcrypt... so that solves that, but it appears my ISP didn't compile with it
either... so
Justin French wrote:
Well, that was on my local test server, which I didn't compile with
mcrypt... so that solves that, but it appears my ISP didn't compile with it
either... so there's very little point in getting my local server working
with it.
What alternatives do I have?
I don't
sorry to step in, but did you consider base64_[encode|decode] ?
-- james
Justin French wrote:
Well, that was on my local test server, which I didn't compile with
mcrypt... so that solves that, but it appears my ISP didn't
compile with it
either... so there's very little point in
base64 doesn't have a key, so anyone could decode the string, which is
obviously not desirable :)
thanks anyway
Justin
on 15/07/02 2:00 PM, James Cox ([EMAIL PROTECTED]) wrote:
sorry to step in, but did you consider base64_[encode|decode] ?
-- james
Justin French wrote:
Well, that
On Monday 15 July 2002 10:27, Justin French wrote:
I'm getting the following error using 4.1.1:
Fatal error: Call to undefined function: mcrypt_create_iv() in
/usr/local/apache/htdocs/tests/enc.php on line 3
Did you actually install the mcrypt libs?
Which is confusing, given that the
Hi All,
I'm looking for a two way encryption function that I can use to encrypt a
cookie value. I have had experience with MD5 but its one way. Is there one I
can use with a key in php?
Thanks in advance,
Joe Njeru,
Nairobi Kenya.
"Where the women are beautiful"
--
PHP General Mailing List
Hey,
http://www.devhome.net/php/tutorials/230101.html
that's RC4 implementation in PHP. you don't need
mcrypt.
--- Joe Njeru [EMAIL PROTECTED] wrote:
Hi All,
I'm looking for a two way encryption function that I
can use to encrypt a
cookie value. I have had experience with MD5 but its
On 13 Mar 2001 03:40:30 -0800, Joe Njeru [EMAIL PROTECTED] wrote:
I'm looking for a two way encryption function that I can use to encrypt a
cookie value. I have had experience with MD5 but its one way. Is there one I
can use with a key in php?
Check out the mcrypt extension for conventional
10 matches
Mail list logo