pub fn change_security() {
    p!("(1) Change Password");
    p!("(2) Change Key Derivation");
    let ans = ask_string("Choice", "", true);
    let mut save = true;

    match &ans[..] {
        "1" => change_password(),
        "2" => change_key_derivation(),
        _ => save = false,
    };

    if save {
        update_file(get_notes(false))
    }
}
// Lets the user change password or derivation
Lets the user change password or derivation
Lets the user change password or derivation
pub fn change_security() {
    p!("(1) Change Password");
    p!("(2) Change Key Derivation");
    let ans = ask_string("Choice", "", true);
    let mut save = true;
    match &ans[..] {
        "1" => change_password(),
        "2" => change_key_derivation(),
        _ => save = false,
    };
    if save {
        update_file(get_notes(false))
    }
}
pub fn change_security ( ) { p ! ( " " ) ; p ! ( " " ) ; let ans = ask_string ( " " , " " , true ) ; let mut save = true ; match & ans [ .. ] { " " => change_password ( ) , " " => change_key_derivation ( ) , _ => save = false , } ; if save { update_file ( get_notes ( false ) ) } }
Lets the user change password or derivation
Lets the user change password or derivation