2021-12-30 12:39:47 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import utils 1.0
|
|
|
|
|
|
|
|
QtObject {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property var privacyModule
|
|
|
|
|
|
|
|
// Module Properties
|
|
|
|
property bool mnemonicBackedUp: privacyModule.mnemonicBackedUp
|
|
|
|
|
|
|
|
function changePassword(password, newPassword) {
|
|
|
|
root.privacyModule.changePassword(password, newPassword)
|
|
|
|
}
|
|
|
|
|
|
|
|
function getMnemonic() {
|
|
|
|
return root.privacyModule.getMnemonic()
|
|
|
|
}
|
|
|
|
|
|
|
|
function removeMnemonic() {
|
|
|
|
root.privacyModule.removeMnemonic()
|
|
|
|
}
|
|
|
|
|
|
|
|
function getMnemonicWordAtIndex(index) {
|
|
|
|
return root.privacyModule.getMnemonicWordAtIndex(index)
|
|
|
|
}
|
2022-02-24 12:18:21 +00:00
|
|
|
|
|
|
|
function validatePassword(password) {
|
|
|
|
return root.privacyModule.validatePassword(password)
|
|
|
|
}
|
2022-03-11 18:07:06 +00:00
|
|
|
|
|
|
|
function getPasswordStrengthScore(password) {
|
|
|
|
return root.privacyModule.getPasswordStrengthScore(password)
|
|
|
|
}
|
2021-12-30 12:39:47 +00:00
|
|
|
}
|