fixed encryptText function parameters & renamed 'from' to 'text'
This commit is contained in:
parent
1d58dc4a4c
commit
d310aa25b4
@ -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
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user