Is there any function that, for a given non encrypted input, return an encrypted data and for a encrypted input returns the decrypted data?
Somethin like this...
char *text = "This text is being encrypted.";
crypto(text);
//Now "text" is equal to "uhabD143Adev9123CAegawgawash"
crypto(text);
//Now "text" is equal to "This text is being encrypted."
There is no real use for it. Only for demonstration. I won't use it on a real aplication.