Hi,

Sunday, October 6, 2002, 7:32:11 AM, you wrote:
JB> ok - that made things work...  here is the output.  it looks like it is
JB> still encrypting it.  what would the resolution be for this, or can I set
JB> the key to anything I want?

Ok I have got to the bottom of it :)
You changed the name of the class but did not change the name of the
constructor so the key was never getting set.
So change
class encrypt_decrypt
{
        var $secret;
        function encrypt_class(){
                $this->secret = 'this is a very long key, even too long for the 
cipher';
        }

to:
class encrypt_decrypt{
        var $secret;
        function encrypt_decrypt(){
                $this->secret = 'this is a very long key, even too long for the 
cipher';

}




-- 
regards,
Tom


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

Reply via email to