This all works fine when I have A4D do both the encoding and the decoding, but when the encoding is being done on the other system, we get gibberish as the output.

blowfish encrypt/decrypt use a variable length key between 1 and 56 bytes and an 8 byte IV. Both the key and IV are truncated to the maximum length or padded with spaces to the minimum length. Text to be encrypted is padded with PKCS#5 padding to an even multiple of 8 bytes before
encryption.

In other words, you have to get the padding right.

Kind regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to