From 87c638e630e8a8869177aa724ef44ae8f973d87a Mon Sep 17 00:00:00 2001 From: Seppia Date: Sun, 18 Dec 2016 05:42:33 +0100 Subject: updated README.md --- README.md | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index f597686..bc94b05 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,7 @@ Capable of generating cryptographically strong random number keys and of usign t Build ------- -Still usign just gcc. Compile only for testing. Openssl libraries are needed and must be linked to gcc with the option `-lcrypto`. Here follows an example: - -``` -gcc -Wall -Wpedantic -lcrypto onetimebluh.c -o otbluh -v -``` +To build onetimebluh just run `make` or `make all`, and You will find the executable binary in the build folder. If you want to install it, just run `make install` and `make clean` to get rid of all the compiled files. Usage ------- @@ -49,18 +45,21 @@ ONETIMEBLUH USAGE: otbluh [COMMAND] [OPTIONS] COMMANDS: --b, --bluh bluhes your message or in other words performs a bynary dump --d, --decrypt=FILE decrypt message (input) same ad --encrypt, just for the feeling --e, --encrypt=FILE encrypt message (input) --g, --gen-key create key file --h, --help print this help --u, --unbluh unbluhes your message (gets the orginal message from the binary dump) + +-b, --bluh=FILE bluhes your message or in other words performs a binary dump +-d, --decrypt=FILE decrypt message (input) same ad --encrypt, just for the feeling +-e, --encrypt=FILE encrypt message (input) +-g, --gen-key create key file +-h, --help print this help +-u, --unbluh=FILE unbluhes your message (gets the orginal message from the binary dump) OPTIONS --k, --key-file=KEY_FILE use key (input) --n, --nbytes=NUM number of bytes --o, --output=FILE output name --t, --tear-page deletes from the pad file the bytes used to encrypt/decrypt + +-c, --char=CAHRS reads two cahracters as argument and uses them to bluh your message +-k, --key-file=KEY_FILE use key (input) +-n, --nbytes=NUM number of bytes +-o, --output=FILE output name +-t, --tear-page deletes from the pad file the bytes used to encrypt/decrypt Onetimebluh project repository at https://git.eigenlab.org/seppia/onetimebluh ``` -- cgit v1.2.3