twik_password function
dynamic
twik_password
(- String tag,
- String master_password,
- String secret_key,
- int length,
- PasswordType password_type
)
Implementation
twik_password(String tag, String master_password, String secret_key,
int length, PasswordType password_type) {
/// Password generator with legacy security directives compatible with Twik android app
if (master_password == '') {
return '';
}
if (secret_key != null) {
tag = twik_hasher(secret_key, tag, 24, PasswordType.special);
}
return twik_hasher(tag, master_password, length, password_type);
}