Page 1 of 1

Blowfish different result Win than Mac

Posted: Sat Dec 24, 2011 1:20 pm
by JosepM
Hi,

I'm using the Blowfish libraries to crypt some data and I found that I get differents values on Mac form Win.

Using on Windows
Text: LiveCode
Key: rules
CipherText: EAAF510FB2141030

On Mac
Text: LiveCode
Key: rules
CipherText: D0DD4167667F28A2

And if you try a online example at http://webnet77.com/cgi-bin/helpers/blowfish.pl you get other result... :(
Any idea why?

Salut,
Josep M

Re: Blowfish different result Win than Mac

Posted: Tue Dec 27, 2011 5:33 pm
by Klaus
Hi Joseph,

key question is: can you DECRYPT the same data on Mac and Win correctly?


Best

Klaus

Re: Blowfish different result Win than Mac

Posted: Tue Dec 27, 2011 5:35 pm
by JosepM
No :)

Well, correctly yes, but the result is different...

Re: Blowfish different result Win than Mac

Posted: Tue Dec 27, 2011 5:56 pm
by Klaus
Ah, Oh!? :D

Sounds like a bug to me!

Re: Blowfish different result Win than Mac

Posted: Tue Dec 27, 2011 9:11 pm
by keithglong
You might want to try the "Blowfish and UTF-8 RunRev libraries" example stack found on RevOnline...

Cheers,

- Boo