diff options
-rw-r--r-- | README.md | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -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 ``` |