[k3b] [Bug 360184] k3b should offer option to select either md5 sum or sha256 when loading dvd iso
Thomas Schmitt via KDE Bugzilla
bugzilla_noreply at kde.org
Tue Sep 13 06:42:15 UTC 2016
https://bugs.kde.org/show_bug.cgi?id=360184
Thomas Schmitt <scdbackup at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |scdbackup at gmx.net
--- Comment #3 from Thomas Schmitt <scdbackup at gmx.net> ---
Hi,
K3B already uses class QCryptographicHash. (In the Debian version it is
deprecated class KMD5.)
See libk3b/tools/k3bmd5job.cpp, line 44.
The newly used class offers a long list of hash algorithms:
http://doc.qt.io/qt-5/qcryptographichash.html
If i get it right, then currently MD5 is hardcoded in line 35 of
k3bmd5job.cpp:
: md5(QCryptographicHash::Md5),
This hardcoded default needs to be replaced by a user choice among the
offered algorithms. E.g. QCryptographicHash::Sha512 .
Now that's where i reach the end of my expertise as C programmer and
command line burner. The remaining work is about C++ tech and testing
whether it works with other algorithms and does not display confusing
messages about MD5 when SHA512 is selected.
Have a nice day :)
Thomas
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the k3b
mailing list