This project is a crossplatform multi threaded C++ port of the minilock javascript library with a Qt5 GUI.
# Clone repository
git clone https://github.com/mrom1/minilockcpp.git
cd minilockcpp
# Configure
cmake -S. -Bbuild -DQt5_DIR=<PATH_TO_YOUR_QT_DIR_CONTAINING_CMAKE_FILES>
# Build
cmake --build build
cd build
ctest
Simple example showing how to encrypt / decrypt a file:
#include <minilock.h>
auto session = new minilockcpp::minilock("[email protected]", "your_password");
// Using default parameters, check out the API for all arguments
session->encrypt_file("myfile.dat");
// Using default parameters, check out the API for all arguments
session->decrypt_file("myfile.dat");
// Cleanup
delete session;
- Add Documentation
- Update external dependencies lookup for Windows users
- Add Qt GUI tests
- Add Github Actions
- Add CLI to use the library without a GUI