From 3d89f30a94d2ad570e826dd419247f350688e553 Mon Sep 17 00:00:00 2001 From: Michele Rodolfi Date: Sat, 12 Dec 2020 23:29:54 +0100 Subject: [PATCH] Add README --- README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..3a5c891 --- /dev/null +++ b/README.md @@ -0,0 +1,45 @@ +# The Horcrux project + +This tool allows you to securely store your data by encrypting the content and splitting it into several files. + +## Usage + +To encrypt a file use the following syntax: + +```horcrux create -n ``` + - `-n `: number of files the encrypted data will be split into. + - ``: file to encrypt. + - ``: folder where to save the encrypted files. + + +To decrypt a file use the following syntax: + +```horcrux load -k ``` + - `-k `: provide the encryption key, base64 encoded. + - ``: horcrux chunks to be reassembled. Order matters :) + - ``: decrypted data. + + +## Compile + +This tool is compiled using Cmake and it has been tested with gcc-10 on linux. + +Use the following commands to compile the tool: +``` +mkdir build && cd build +cmake .. +make +``` +### Dependencies + +`horcrux` needs OpenSSL-1.1 or a newer version. + +## Test + +GTest unit tests are available. + +You can run `make test` from the build directory, or use `test/horcrux_test` for a more verbose output. + +## Install + +`make install` will install `horcrux` to `/usr/local/bin` by default.