Skip to content

About

this passmanager save your account details on your dynamic storage

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 PassManager Accounts

Secure Password Manager with SHA-256 Hashing

C Security Platform

A lightweight, console-based password manager written entirely in C. It secures your account credentials locally using salted SHA-256 cryptographic hashing and a master password.

Hadi Gholipour

Follow me on LinkedIn


📸 Application Screenshots

Screenshot 1

Screenshot 2

Screenshot 3

✨ Key Features

  • 🛡️ High Security: Implements a custom SHA-256 hashing algorithm from scratch. Passwords are never stored in plain text.
  • 🧂 Cryptographic Salting: Generates random 16-byte salts for every single entry to prevent rainbow table attacks.
  • 🔑 Master Password Protection: The entire vault is locked behind a master password. You cannot read, write, or delete without verifying the master key.
  • 💾 Dynamic Local Storage: Automatically saves and manages data locally using binary files (master.dat and accounts.dat).
  • 🛠️ Full CRUD Operations: Easily Add, List, Search, and Delete your saved accounts.

🚀 How To Run

You have two ways to run this password manager:

Option 1: Run the Executable (Windows)

If you already have the compiled .exe file:

  1. Open your terminal or command prompt.
  2. Run the executable:
    passman.exe
    (Note: The app will create master.dat and accounts.dat in the same folder to save your details.)

Option 2: Compile from Source (Windows/Linux/Mac)

If you want to compile the C code yourself, ensure you have a C compiler (like gcc) installed.

  1. Clone the repository:
    git clone https://github.com/xedi1/PassManager-Accounts-With-Security-Hash-SHA256.git
    cd PassManager-Accounts-With-Security-Hash-SHA256
  2. Compile the code:
    gcc src.c -o src
  3. Run the program:
    ./src

⚙️ Under The Hood

This project demonstrates low-level memory and file management in C, alongside cryptographic principles:

  • File I/O: Uses fread and fwrite for reading/writing structured binary data to .dat files.
  • Memory Management: Utilizes dynamic memory allocation (malloc, calloc, realloc, free) to handle arbitrary lengths of account data safely.
  • Bitwise Operations: The SHA-256 implementation heavily relies on 32-bit and 64-bit bitwise shifts (rotr, ch, maj) to generate secure hashes.

Developed with ❤️ by Hadi Gholipour. If you like this project, please give it a ⭐!
```

About

this passmanager save your account details on your dynamic storage

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages