password_manager

Python Password Manager

This is a simple password management application built using Python, designed for secure user authentication. It allows users to create accounts and log in using hashed passwords for enhanced security. This project demonstrates fundamental principles of cybersecurity, such as password hashing and input validation.

Features

How It Works

  1. Account Creation:
    • Users provide a username and password.
    • Passwords are hashed using hashlib.sha256 before being stored to ensure security.
  2. Login:
    • Users provide their username and password.
    • The password is hashed and compared with the stored hash to verify user identity.
  3. Password Security:
    • The getpass module ensures that passwords are not visible on the screen when entered.
    • SHA-256 hashing provides a cryptographic way of protecting passwords.

Requirements

Usage

  1. Clone the repository or download the password_manager.py file.
  2. Run the script using Python: ```bash python password_manager.py

Example Create an Account:

hamzah

Enter your desired username: user1 Enter your desired password: **** Account created successfully!

Login:

hamzah

Enter your username: user1 Enter your password: **** Login successful!