Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.24 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.24 KB

minilockcpp

windows-build linux-build

This project is a crossplatform multi threaded C++ port of the minilock javascript library with a Qt5 GUI.

Preview

ClientPreview

How to build

# 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

Run tests

cd build
ctest 

How to use the library

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;

ToDo

  • 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