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?