diff options
author | Louis-Bertrand Varin <louisv@unito.io> | 2017-01-14 21:25:30 +0300 |
---|---|---|
committer | Louis-Bertrand Varin <louisv@unito.io> | 2017-01-14 21:25:30 +0300 |
commit | 798041fe11adb7fc24f5ca413e7e88844da2b750 (patch) | |
tree | f96843c6e6078c1a45b4be866b17541549b66f2a /src/keys/CompositeKey.h | |
parent | 1ca5b72073a98f47d191f9dda321e690cda9c468 (diff) |
Extract readKeyFromLine.
Diffstat (limited to 'src/keys/CompositeKey.h')
-rw-r--r-- | src/keys/CompositeKey.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keys/CompositeKey.h b/src/keys/CompositeKey.h index 3290d3671..f8666aadc 100644 --- a/src/keys/CompositeKey.h +++ b/src/keys/CompositeKey.h @@ -19,6 +19,7 @@ #define KEEPASSX_COMPOSITEKEY_H #include <QList> +#include <QString> #include "keys/Key.h" @@ -39,6 +40,7 @@ public: void addKey(const Key& key); static int transformKeyBenchmark(int msec); + static CompositeKey readFromLine(QString line); private: static QByteArray transformKeyRaw(const QByteArray& key, const QByteArray& seed, |