diff --git a/include/encrypter.h b/include/encrypter.h index 57df388..338632d 100644 --- a/include/encrypter.h +++ b/include/encrypter.h @@ -1,6 +1,6 @@ #ifndef WHY2_ENCRYPTER_H #define WHY2_ENCRYPTER_H -char *encryptText(char from[]); //TEXT from WILL BE ENCRYPTED WITH RANDOM PASSWORD (WHICH WILL BE PRINTED OUT) AND RETURNED +char *encryptText(char *text); //TEXT from WILL BE ENCRYPTED WITH RANDOM PASSWORD (WHICH WILL BE PRINTED OUT) AND RETURNED #endif \ No newline at end of file diff --git a/src/encrypter.c b/src/encrypter.c index c0c473d..2e8cf6b 100644 --- a/src/encrypter.c +++ b/src/encrypter.c @@ -5,7 +5,7 @@ #define KEY_LENGTH 50 char* -encryptText(char *from) +encryptText(char *text) { srand(time(0)); //TRY TO MAKE RANDOM GENERATION REALLY "RANDOM"