Individuals using various online services are increasingly concerned with securing and protecting their personal information from unauthorized access. There are numerous authentication systems available to safeguard data, with password-based authentication being one of the most common. Given the rise in information sharing, internet usage, e-commerce, and data transfer, ensuring the security and effectiveness of passwords has become crucial. However, the complexity of strong passwords leads to users forgetting them. To address this issue, this study proposes a novel algorithm for generating robust passwords, differing from existing random password generators. This study utilizes user-provided information to create passwords that are easier for users to remember. This system is tested with various synthetic input data and verified the strength of the generated passwords using four popular online password checkers. The results indicate that the passwords are highly reliable. Furthermore, this system effectively defends against two common types of password attacks: the dictionary attack and the brute force attack. This system is implemented in Python. The passwords generated by this system are not only easy for users to recall but also possess strong, secure characteristics that make them resistant to cracking attempts.