QCryptographicHash Class ReferenceThe QCryptographicHash class provides a way to generate cryptographic hashes. Далее... #include <QCryptographicHash> Замечание: Все функции в этом классе реентерабельны. Класс был добавлен в 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 SHA-1 are supported. Описание типов-членовenum QCryptographicHash::Algorithm
Описание функций-членовQCryptographicHash::QCryptographicHash ( Algorithm method )Constructs an object that can be used to create a cryptographic hash from data using method. QCryptographicHash::~QCryptographicHash ()Уничтожает объект. void QCryptographicHash::addData ( const char * data, int length )Adds the first length chars of data to the cryptographic hash. void QCryptographicHash::addData ( const QByteArray & data )This function overloads addData(). QByteArray QCryptographicHash::hash ( const QByteArray & data, Algorithm method ) [static]Returns the hash of data using method. void QCryptographicHash::reset ()Resets the object. QByteArray QCryptographicHash::result () constReturns the final hash value. See also QByteArray::toHex(). |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |