I have a Delphi (7) application that uses the DCPCrypt component to encrypt/decrypt a file using the Blowfish algorithm. The application consists of two functions: EncryptFile(infile, outfile) and DecryptFile(infile, outfile).
I need two Java functions to do the same. The catch is I need the Java application to generate an output identical to the output generated by the Delphi application. The Delphi application needs to be able to decrypt the files encrypted by the Java application. No changes are allowed to the Delphi application.
You can use any Java library as long as it's free. If you plan to use a commercial library lets talk first.
I have attached the Delphi application, the test file ([login to view URL]) and the DCPCrypt components.
Please let me know if you have questions.
Thanks,
Bogdan