Triple DES Encryption

gilson2002
gilson2002 used Ask the Experts™
on
Hi - I have a problem - need to write an application to encrypt a string using TripleDES using C/C++ and then get the same string decrypted using another program (servlet) written in java.

My question is: how do I start going about this? I checked out some crypto libraries available on the internet and they were extrememly complicated!

The password for encryption/decryption also has to be hardcoded in the code at the C++ and java end. Please help
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
Yes - I've checked those options - java has some comprehensive help - but I'm more interested in any C/C++ library and how to use it for TripleDES encryption? I've checked crypto++ etc - but no documentation on how to use it or even sufficient source code
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
The source is good - but what libraries does it use? and from where?

Commented:
It comes from the GPG package.  I guess that you can download the full GPG source - it should include everything needed.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Recommendation: Accept comment from alexo

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

DominicCronin
EE Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial