| Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The QCryptographicHash class provides a way to generate cryptographic hashes. More...
#include <QCryptographicHash>
Note: All the functions in this class are reentrant.
This class was introduced in Qt 4.3.
The QCryptographicHash class provides a way to generate cryptographic hashes.
QCryptographicHash can be used to generate cryptographic hashes of binary or text data.
Currently Md4, Md5, and Sha1 are supported.
| Constant | Value | Description |
|---|---|---|
| QCryptographicHash::Md4 | 0 | Generate an Md4 hash sum |
| QCryptographicHash::Md5 | 1 | Generate an Md5 hash sum |
| QCryptographicHash::Sha1 | 2 | Generate an Sha1 hash sum |
Constructs an object that can be used to create a cryptographic hash from data using method.
Destroys the object.
Adds the first length chars of data to the cryptographic hash.
This is an overloaded member function, provided for convenience.
/overload
Returns the hash of data using method.
Resets the object.
Returns the final hash value.
| Copyright © 2008 Trolltech | Trademarks | Qt 4.4.0 |