Re: blowfish result varies local > server

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

 



On Mon, May 8, 2006 6:16 am, D_C wrote:
> i have an item being blowfish encrypted... with the same key, but on
> my local and remote machines it gives a different result...

> _______________________________________________
>            David "DC" Collier
>
> dc@xxxxxxxxxx
>            skype: callto://d3ntaku
>            http://www.pikkle.com
>            +81 (0)80 6521 9559
>
> http://charajam.com$B!!!Z!z%-%c%i"v%8%c%`!z![(B
> $B?M5$%-%c%i$H(BJ-POP$B:G?7%R%C%H6J$r<+J,$GAH$_9g$o$;$F(B
> $BBT<u(BFlash$B$dCe(BFlash$B$r:n$C$A$c$*$&!*(B
> _______________________________________________

Wild Guesses:
Trailing spaces or even NULL characters may be confusing Blowfish in
some way.

You HAVE confirmed in every way possible that the inputs are the same,
right?...
I often use something like this with "View Source" in browser:
echo "'$input1' (", strlen($input1), ")<hr />";
to be certain that leading/trailing whitepsace isn't messing me up.

And be sure the the key also is the same -- An ASCII FTP transfer that
adds newlines or something can often be masked by modern tools. :-v

-- 
Like Music?
http://l-i-e.com/artists.htm

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