Recent

Author Topic: Encryption not working across Mac <--> Win/Linux?  (Read 1958 times)

Michael Collier

  • Sr. Member
  • ****
  • Posts: 329
Encryption not working across Mac <--> Win/Linux?
« on: February 04, 2014, 07:19:43 pm »
I tried encrypting files using Blowfish and also the DCPcrypt library, but my Apple-Mac-PPC wont decrypt Windows/Linux generated data and visa versa.

Am I right in assuming that the genereted encrypted text for "A" using the key "key" should produce the same encrypted output?

I tried this in a simple form showing the output in an edit box, I get different result on Mac than I do on Windows NT.

I'm using recent versions of Lazarus and FPC.


marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12838
  • FPC developer.
Re: Encryption not working across Mac <--> Win/Linux?
« Reply #1 on: February 04, 2014, 08:20:05 pm »
If PPC, then it is probably endianness.

 

TinyPortal © 2005-2018