QCryptographicHash Class ReferenceThe QCryptographicHash class provides a way to generate cryptographic hashes. More... #include <QCryptographicHash> Note: All functions in this class are reentrant. This class was introduced in Qt 4.3. Public Types
Public Functions
Static Public Members
Detailed DescriptionThe 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. Member Type Documentationenum QCryptographicHash::Algorithm
Member Function DocumentationQCryptographicHash::QCryptographicHash ( Algorithm method )Constructs an object that can be used to create a cryptographic hash from data using method. QCryptographicHash::~QCryptographicHash ()Destroys the object. 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(). X
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |