Re: Problem with mcrypt and Blowfish
| From: | Derick Rethans | Date: | Wed, 18 Dec 2002 10:25:22 +0000 |
| Subject: | Re: Problem with mcrypt and Blowfish | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92576@lists.php.net to get a copy of this message | ||
On Wed, 18 Dec 2002, victor wrote:
> Hi to all. I'm having problems with the Blowfish encryption method. It's
> not a PHP problem, because what i get encrypted with the lybrary, i can
> decrypt it later. The problem became when i encrypt a text with another
> Blowfish library and try to get decrypted with the PHP's library,
> because i don't get the original text.
>
> Somebody can explain me what i'm doing wrong? (i used ebCrypt for Visual
> Basic for external encryption. It seems to need the sames parameteres
> that need the PHP's library)
The blowfish algorithm in mcrypt may behave a little bit different
sometimes, can you see if the cipher blowfish-compat (instead of simply
blowfish) fixes the problem?
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------