{"id":21909382,"url":"https://github.com/pbergstrom90/passwordmanagersimulator","last_synced_at":"2025-03-22T07:49:51.162Z","repository":{"id":223680025,"uuid":"744010709","full_name":"PBergstrom90/PasswordmanagerSimulator","owner":"PBergstrom90","description":"Examproject for \"Data IT Security\" course, Winter 2024.","archived":false,"fork":false,"pushed_at":"2024-10-28T15:09:46.000Z","size":9632,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T08:12:12.124Z","etag":null,"topics":["cpp","hashing","password","security"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PBergstrom90.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-16T13:05:49.000Z","updated_at":"2024-10-28T15:09:50.000Z","dependencies_parsed_at":"2024-10-28T17:37:29.958Z","dependency_job_id":"03106e04-626a-499e-9f92-dcfcbeb28777","html_url":"https://github.com/PBergstrom90/PasswordmanagerSimulator","commit_stats":null,"previous_names":["pbergstrom90/securityexam","pbergstrom90/passwordmanagersimulator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PBergstrom90%2FPasswordmanagerSimulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PBergstrom90%2FPasswordmanagerSimulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PBergstrom90%2FPasswordmanagerSimulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PBergstrom90%2FPasswordmanagerSimulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PBergstrom90","download_url":"https://codeload.github.com/PBergstrom90/PasswordmanagerSimulator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244924768,"owners_count":20532874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","hashing","password","security"],"created_at":"2024-11-28T17:17:15.423Z","updated_at":"2025-03-22T07:49:50.878Z","avatar_url":"https://github.com/PBergstrom90.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Password Manager\n\nThis program is a simple password manager developed in C++ with features for creating user accounts, logging in, and password cracking using MD5 and SHA256 hashing algorithms. The program utilizes OpenSSL for cryptographic functions.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [File Descriptions](#file-descriptions)\n- [Building the Program](#building-the-program)\n- [Testing](#testing)\n\n## Installation\n\nTo use this program, you need to have OpenSSL installed. You can download OpenSSL from [OpenSSL Downloads](https://www.openssl.org/source/).\n\n## Usage\n\n### Admin Menu\n\nThe main menu provides administrative options:\n\n1. **Create Account:** Create a new user account.\n2. **Test Login:** Test user login with username and password.\n3. **Password Cracker:** Access the password cracking menu.\n4. **Exit:** Exit the program.\n\n### Password Cracker Menu\n\nThe password cracker menu allows you to:\n\n1. **Convert to MD5:** Convert a password to its MD5 hash.\n2. **Convert to SHA256:** Convert a password to its SHA256 hash.\n3. **Crack MD5 Hash:** Crack an MD5 hash and retrieve the original password.\n4. **Crack SHA256 Hash:** Crack a SHA256 hash and retrieve the original password.\n5. **Return:** Return to the main menu.\n\n## File Descriptions\n\n- **main.cpp:** Contains the main program and administrative menu functions.\n- **user.cpp:** Implements user-related functions, including user creation and file I/O.\n- **user.h:** Header file for the user class and related functions.\n- **crack.cpp:** Implements password cracking functions using MD5 and SHA256.\n- **crack.h:** Header file for password cracking functions.\n- **test.cpp:** Contains Google Test-based unit tests for validating various functionalities of the program.\n- **Makefile:** Makefile for building the program.\n- **commonpasswordsMD5.txt:** File containing common passwords and their MD5 hashes.\n- **commonpasswordsSHA256.txt:** File containing common passwords and their SHA256 hashes.\n\n## Building the Program\n\nTo build the program, make sure you have OpenSSL installed. Modify the `Makefile` if necessary.\n\n## Testing\n\nThis project uses Google Test for unit testing. The unit tests are defined in the `test.cpp` file, and the test executable is built using the Makefile. To run the tests, ensure that you have Google Test installed, and then use the following commands:\n\n```bash\n# Build and run the tests\nmingw32-make test\n```\n\nMake sure to replace mingw32-make with make if you are using a different make tool.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbergstrom90%2Fpasswordmanagersimulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpbergstrom90%2Fpasswordmanagersimulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbergstrom90%2Fpasswordmanagersimulator/lists"}