Why does the host make a difference?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a routine that uses the PEAR module CRYPT_BLOWFISH to encrypt a
value and then base64_encode() to create a printable string. If I
reverse the process on the same host I get the orginal value however if
I do the reverse processing on a different host the result is garbage.

Shouldn't both the encryption and the encoding/decoding be host
independent? Aren't both routines standard, public algorithms that
should be reversable even between different operating systems? That's
not my case since both are linux but one is php4 and the other php5.
If that's the problem, why?

-- 
"There are two tragedies in life.  One is to lose your heart's desire.
 The other is to gain it." -- George Bernard Shaw
    Rick Pasotto    rick@xxxxxxxx    http://www.niof.net

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux