SaltForge-C is a beginner-friendly C project for learning how password hashing works using C, SHA-256-style hashing concepts, and salt.
This project is mainly for learning:
- multi-file C project structure
- header files and source files
- safe input handling
- password validation
- salt generation
- hashing concepts
- Makefile usage
- Git and GitHub workflow
Currently in early development.
- Basic project structure
- Multi-file C setup
main.ccalling application logic
- Safe password input handling
- Menu system
- Password confirmation
- Salt generation
- Hash function integration
- Password verification
- Save hashed passwords safely
- Improve error handling
- Add tests
SaltForge-C/
├── include/
│ ├── app.h
│ └── input.h
├── src/
│ ├── app.c
│ ├── input.c
│ └── main.c
├── Makefile
├── README.md
└── .gitignore
To compile the project:
make
To compile and run:
make run
To remove the compiled program:
make clean
This project is not only about creating a password hashing tool.
It is also about learning how real C projects are organized.
The main learning goals are:
- Understand multi-file C programs
- Learn safe input handling
- Learn how passwords should not be stored directly
- Understand salt and hashing
- Practice clean GitHub project structure
This project is for educational purposes.
It should not be used as a real production password manager or security system.
Daniel Kazemian