From 99163fe6fce099ca39c1ef6231012f915448c2d7 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Sat, 27 Jun 2015 19:47:35 -0600 Subject: [PATCH] format README, user friendly Print --- crypto/camellia/README | 10 ++++++---- crypto/camellia/camellia-encrypt.c | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/crypto/camellia/README b/crypto/camellia/README index ca4dd0d7..24a8d075 100644 --- a/crypto/camellia/README +++ b/crypto/camellia/README @@ -3,17 +3,19 @@ How to use camellia-encrypt.c 1) Start by typing make 2) Make a file to encode. Can be any file (ex. .txt .in .out .file etc.) 3) run the excecutable, for help run with -h flag. Basic command is as follows: - + ./camellia-encrypt <-option> + KeySize examples: 128, 192, 256 + typing -e for option will encrypt the input.file onto the output.file. typing -d for option will decrypt the input.file onto the output.file. - NOTE: When decrypting make sure the key is the same used for the + NOTE: When decrypting make sure the key is the same used for the encryption, otherwise it won't decode correctly. Which is the idea. Only those with the key will be able to decode the message. If no key is entered into the command line, it will use "0123456789abcdef" by default. -4) Running 'make clean' will delete the excecutable as well as any created - files. Making sure that the only files left are 'camellia-encrypt.c', +4) Running 'make clean' will delete the excecutable as well as any created + files. Making sure that the only files left are 'camellia-encrypt.c', 'Makefile', and 'README'. diff --git a/crypto/camellia/camellia-encrypt.c b/crypto/camellia/camellia-encrypt.c index 334faf69..5540aaae 100644 --- a/crypto/camellia/camellia-encrypt.c +++ b/crypto/camellia/camellia-encrypt.c @@ -249,7 +249,7 @@ int NoEcho(char* key, int size) return -1060; } - printf("Key: "); + printf("Unique Password: "); fgets(key, size, stdin); key[strlen(key) - 1] = 0;