Add support for a salted SHA2-512 hash
authorMichael Marley <michael@michaelmarley.com>
Sun, 8 Feb 2015 18:25:50 +0000 (13:25 -0500)
committerMichael Marley <michael@michaelmarley.com>
Sun, 8 Feb 2015 18:40:01 +0000 (13:40 -0500)
commit1e57394b3bb6aaf6213270658e00975b19f02d26
tree7511bd3b29dfdb7ec3001815a10e8c10b8e21497
parent5924533c6d0f9777d38c01ed7e1510a55db2b876
Add support for a salted SHA2-512 hash

This new hash uses a SHA2-512 hash salted with 512 bits of data
generated using the C++11 std::mt19937 algorithm, seeded by
std::random_device.  It only works with Qt5, so Qt4 builds will
keep using the old SHA1 hash.
src/core/storage.cpp
src/core/storage.h