Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Duplicate
-
Affects Version/s: 5.9.1
-
Fix Version/s: 5.9.2
-
Component/s: Core: Other
-
Labels:None
-
Environment:macOS 10.12.6
QT Creator 4.4.0
Description
QCryptographicHash h(QCryptographicHash::Sha3_224);
is giving completely wrong hash result() output under 5.9.1. Qt 5.8, 5.7, 5.5 & 5.4 all match and are different to 5.9.1.
To repro,
QCryptographicHash h(QCryptographicHash::Sha3_224);
h.reset();
h.addData(seedBytes);
h.addData(serialBytes);
QByteArray hash = h.result();
where seedBytes is a QByteArray of length 12 and serialBytes is a QByteArray of length 10. Compare "hash" from 5.9.1 to other QT versions listed above.
Attachments
Issue Links
- is replaced by
-
QTBUG-62025 SHA3 implementation change
-
- Closed
-