Search⌘ K
AI Features

The Secure Vault (Password Manager CLI)

In this project, you will build "The Secure Vault," a command-line password manager that runs locally in the terminal.

In the real world, handling sensitive user data, like passwords, requires strict discipline. You cannot simply save them as text files; if a hacker gains access to your computer, they would read everything instantly. Instead, professionals use encryption to scramble data and binary file formats to store it efficiently and obscurely.

You will build this system from the ground up using modern C++23.

What you will learn

  • Bitwise encryption: Implement a fundamental XOR encryption algorithm.

  • Binary I/O: Learn to read and write raw memory bytes to disk using std::ofstream and std::ifstream in binary mode.

  • Concurrency: Use std::jthread to run a background security timer that monitors session duration.

  • Build systems: Initially, you will compile everything by hand to understand the linking process. In the final task, you will write a Makefile to automate your workflow.

Click "Start Project" to initialize your secure development environment.