java.lang.Object
io.qt.QtObject
io.qt.core.QCryptographicHash
- All Implemented Interfaces:
QtObjectInterface
Way to generate cryptographic hashes
Java wrapper for Qt class QCryptographicHash
- Since:
- This class was introduced in Qt 4.3.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQCryptographicHash::Algorithm
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addData
(byte [] data) Overloaded function foraddData(java.nio.ByteBuffer)
.final void
addData
(byte [] data, int offsetOfData, int length) Overloaded function foraddData(java.nio.ByteBuffer)
.final void
addData
(QByteArray data) final boolean
final void
addData
(ByteBuffer data) static QByteArray
hash
(byte [] data, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArray, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(QByteArray data, QCryptographicHash.Algorithm method) static int
final void
reset()
final QByteArray
result()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QCryptographicHash
- Parameters:
method
-
-
-
Method Details
-
addData
- Parameters:
data
-
-
addData
- Parameters:
device
-- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
addData
- Parameters:
data
-
-
reset
-
result
- Returns:
-
hash
- Parameters:
data
-method
-- Returns:
-
hashLength
- Parameters:
method
-- Returns:
- Since:
- This function was introduced in Qt 5.12.
-
addData
Overloaded function for
addData(java.nio.ByteBuffer)
. -
addData
Overloaded function for
addData(java.nio.ByteBuffer)
. -
hash
Overloaded function for
hash(io.qt.core.QByteArray, io.qt.core.QCryptographicHash.Algorithm)
.
-