Add database settings widget and ability to change transform rounds count.

This commit is contained in:
Florian Geyer
2012-04-19 16:20:20 +02:00
committed by Felix Geyer
parent 8acd6f74d8
commit 1fc5f7a69f
12 changed files with 259 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ public:
* Sets the database key and generates a random transform seed.
*/
void setKey(const CompositeKey& key);
void updateKey(quint64 rounds);
bool hasKey();
void recycleEntry(Entry* entry);
@@ -106,6 +107,8 @@ private:
quint64 m_transformRounds;
QByteArray m_transformedMasterKey;
CompositeKey m_key;
bool m_hasKey;
};