Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, May 2008
Encrypt/decrypt data


Message 1 in thread

Hi,

is it possible to encrypt/decrypt data with Qt?  I need encryption
especially for strings.

Thanks,
Massimo

Message 2 in thread

You can try Qt Cryptographic Architecture (QCA):
<http://delta.affinix.com/qca/> http://delta.affinix.com/qca/


 

 

  _____  

From: Massimo Qt [mailto:massimo.qt@xxxxxxxxx] 
Sent: 2008年5月12日 9:36 PM
To: Qt Mailing List
Subject: Encrypt/decrypt data

 

Hi,

is it possible to encrypt/decrypt data with Qt?  I need encryption
especially for strings.

Thanks,
Massimo


Message 3 in thread

Hi,

Qt itself does not support encryption, but you can take a look at the Qt eXtension Library (http://www.libqxt.org). It contains a class you can use to encrypt/decrypt using the blowfish algorithm: http://docs.libqxt.org/classQxtBlowFish.html
Note that it does not work on QStrings directly, but on a QByteArray. However, you can use QString::toUtf8 to convert your string to a QByteArray representation.

André

  "Massimo Qt" <massimo.qt@xxxxxxxxx> schreef in bericht news:3f86208b0805120635w73d85463m9b5cf32128b91539@xxxxxxxxxxxxxxxxx
  Hi,

  is it possible to encrypt/decrypt data with Qt?  I need encryption especially for strings.

  Thanks,
  Massimo