+
+#include <QCryptographicHash>
+
+Storage::Storage(QObject *parent)
+ : QObject(parent)
+{
+}
+
+QString Storage::cryptedPassword(const QString &password) {
+ return QString(QCryptographicHash::hash(password.toUtf8(), QCryptographicHash::Sha1).toHex());
+}