PDA

View Full Version : Crypto++ and Qt3.3.5



vermarajeev
9th February 2007, 04:20
Hi guys,

I want to use crypto++ library in a Qt application developed by me.

For this I have downloded crypto5.4 version and checked the souce files
with some examples. I'm able to get the output.


Now my question is here.
I have a Qt application like ms paint. It
gererates some text file which needs to be encrypted and decrypted.

There are so many algorithms provided in crypto++ that which one to
use is really confusing.


My requirement is as follows:
I have some text files which I need to encrypt and decrypt. The
encryption should be password protected which means whenever I encrypt
a file a password has to be provided by the user. The other user who
wants to read the data in that file has to first enter a correct
password. If he/she enters correct password, the file is decrypted and
read
else fails.


Now first question is
how do I use crypto++ library in my Qt project???
What is the procedure to include crypto++ library to my project???

The next question is
what algorithm is the best provided by crypto++ for the above scenario???


Details of my project::::
Language: C++
GUI : Qt ( a C++ GUI Tool )
Platform: Windows and Linux
Editor used: On Windows-->Microsoft Visual Studio .NET 2003
On Linux-->Kdevelop

e8johan
9th February 2007, 08:26
I would call this a duplicate so I'm locking this thread. Use this instead: http://www.qtcentre.org/forum/f-qt-programming-2/t-crypto-and-qt-5576.html .