|
Qyoto
4.0.7
Qyoto is a C# language binding for Qt
|
The QCryptographicHash class provides a way to generate cryptographic hashes. More...


Public Types | |
| enum | Algorithm { Md4 = 0, Md5 = 1, Sha1 = 2 } |
Public Member Functions | |
| QCryptographicHash (QCryptographicHash.Algorithm method) | |
| More... | |
| virtual void | CreateProxy () |
| new void | AddData (QByteArray data) |
| More... | |
| new void | AddData (string data, int length) |
| More... | |
| new void | Reset () |
| More... | |
| new void | Dispose () |
Static Public Member Functions | |
| static QByteArray | Hash (QByteArray data, QCryptographicHash.Algorithm method) |
| More... | |
Protected Member Functions | |
| QCryptographicHash (System.Type dummy) | |
Protected Attributes | |
| SmokeInvocation | interceptor |
Properties | |
| QByteArray | Result [get] |
| More... | |
| virtual System.IntPtr | SmokeObject [get, set] |
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.
|
protected |
| QtCore.QCryptographicHash.QCryptographicHash | ( | QCryptographicHash.Algorithm | method | ) |
Constructs an object that can be used to create a cryptographic hash from data using method.

| new void QtCore.QCryptographicHash.AddData | ( | QByteArray | data | ) |
This function overloads addData().
| new void QtCore.QCryptographicHash.AddData | ( | string | data, |
| int | length | ||
| ) |
Adds the first length chars of data to the cryptographic hash.
|
virtual |

| new void QtCore.QCryptographicHash.Dispose | ( | ) |
|
static |
Returns the hash of data using method.
| new void QtCore.QCryptographicHash.Reset | ( | ) |
Resets the object.
|
protected |
|
get |
Returns the final hash value.
See also QByteArray::toHex().
|
getset |