fn hash_and_verify_password() {
        let pwd = "123456".to_string();
        let hashed = hash_password(&pwd);

        let result = check_password(&pwd, &hashed);
        assert!(result);
        // println!("{:?}", check_password(pwd, hashed));
    }
// TODO: I don't understand why this fail. Help needed
I don't understand why this fail. Help needed
I don ' t understand why this fail . Help needed
fn hash_and_verify_password() {
        let pwd = "123456".to_string();
        let hashed = hash_password(&pwd);
        let result = check_password(&pwd, &hashed);
        assert!(result);
        // println!("{:?}", check_password(pwd, hashed));
    }
fn hash_and_verify_password ( ) { let pwd = " " . to_string ( ) ; let hashed = hash_password ( & pwd ) ; let result = check_password ( & pwd , & hashed ) ; assert ! ( result ) ; // println!("{:?}", check_password(pwd, hashed)); }
TODO: I don't understand why this fail.
TODO : I don ' t understand why this fail .