Can I use cipher classes of 'RemObjects for delphi' in 'RemObjects for Java'

Hello.

I’m using TROCipher_Blowfish in uROCipher.pas to encode and decode some text like below.
And used it in client & server application.


use
uROCipher, uRODECUtil;

const
TEST_CIPHER_PASSWORD = 'TEST_CIPHER_PASSWORD ';

function TestEncode(SrcText: String): String;
begin
with TROCipher_Blowfish.Create(TEST_CIPHER_PASSWORD, nil) do
try
Mode := cmCBC;
Result := CodeString(SrcText, paEncode, 16);
finally
Free;
end;
end;

function TestDecode(EncText: String): String;
begin
with TROCipher_Blowfish.Create(TEST_CIPHER_PASSWORD, nil) do
try
Mode := cmCBC;
Result := CodeString(EncText, paDecode, 16);
finally
Free;
end;
end;

Currently I’m trying to make java client using “RemObjects for java” but couldn’t find cipher java classes.

Is there a plan on roadmap to develope java cipher classes equivalent to uROCipher.pas?
Or Is it possible to implement same funtion (same input / output) by using java original security classes?

Hello,

For now ‘RemObjects SDK for Java’ doesn’t support channel ecription. That would be implemented in feature versions.

Hello,

gscmsnhcokr said: Is there a plan on roadmap to develope java cipher classes equivalent to uROCipher.pas?

Not sure we will port uROCipher to Java. It is not our code, if you look inside the file you will find:

{Copyright:      Hagen Reddmann  mailto:HaReddmann@AOL.COM
 Author:         Hagen Reddmann
 Remarks:        freeware, but this Copyright must be included
 known Problems: none
 Version:        3.0,  Part I from Delphi Encryption Compendium  ( DEC Part I)
                 Delphi 2-4, designed and testet under D3 & D4
 Description:    Include a Selection of various RO_Cipher's (Encryption Algo)
                 impl. Algo:
...

We just adapted it to modern Delphi versions. Porting this to Java obviously means reimplementing.

Best regards - Sergey.