I am using the crypt function like this. Is it correct?
string lol = crypt(plaintext, salt);
Here plaintext and salt are both character arrays(strings). Am I using this function correctly?
When I execute my code it just finishes the program. I checked the code with echo $? and it seems to be 0(which is weird).
I read the crypt manual and don't know what the correct usage is.