Blowfish different result Win than Mac

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Blowfish different result Win than Mac

Post 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
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Blowfish different result Win than Mac

Post by Klaus »

Hi Joseph,

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


Best

Klaus
JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Re: Blowfish different result Win than Mac

Post by JosepM »

No :)

Well, correctly yes, but the result is different...
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Blowfish different result Win than Mac

Post by Klaus »

Ah, Oh!? :D

Sounds like a bug to me!
keithglong
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 348
Joined: Sun Jul 03, 2011 2:04 am

Re: Blowfish different result Win than Mac

Post by keithglong »

You might want to try the "Blowfish and UTF-8 RunRev libraries" example stack found on RevOnline...

Cheers,

- Boo
Post Reply