Qyoto
4.0.5
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) | |
| |
virtual void | CreateProxy () |
new void | AddData (QByteArray data) |
| |
new void | AddData (string data, int length) |
| |
new void | Reset () |
| |
new QByteArray | Result () |
| |
new void | Dispose () |
Static Public Member Functions | |
static QByteArray | Hash (QByteArray data, QCryptographicHash.Algorithm method) |
| |
Protected Member Functions | |
QCryptographicHash (System.Type dummy) | |
Protected Attributes | |
SmokeInvocation | interceptor |
Properties | |
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.
new QByteArray QtCore.QCryptographicHash.Result | ( | ) |
Returns the final hash value.
See also QByteArray::toHex().
|
protected |
|
getset |