[Qt-interest] RSA in QT
Konrad Rosenbaum
konrad at silmor.de
Sat Jan 24 12:59:20 CET 2009
On Wednesday 21 January 2009, Serge wrote:
> I need to encrypt/decrypt text using RSA method.
This sounds dangerous. What exactly do you want to achive? What is the
purpose of this encryption? What cryptographic protocol do you plan to use?
> Perhaps i can use QSslKey and other from of QtNetwork module?
Those are specific to SSL and networking. So, if you want to send the text
over the network and want to be sure noone can read it in transit, then use
QSsslSocket to do the communication, QSslKey is a helper in this setup.
Otherwise you need something else.
> But i can not find any examples of doing it.
> What methods, classes must be used?
Any method that is very very careful with the cryptography. And a
cryptography class at your local university springs to mind. (SCNR)
> May be there are some ready examples?
There are plenty examples. Just not in the Qt source tree. Get some standard
books about the topic, "Applied Cryptography" and "Practical Cryptography"
from Bruce Schneier always make for a good start.
Better: if this is a company project - ask you boss to let a real
cryptography expert design this part.
Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090124/821b2530/attachment.bin
More information about the Qt-interest-old
mailing list