Looking for built in encryption functions, not to hide the string from the clever programmer, but instead just to obfuscate it a bit. Looking for functions such as str_rot13 and base64_encode, but I can’t seem to locate any. Surely there are more?
Looking for built in encryption functions, not to hide the string from the clever
Share
For real encryption, mcrypt is the solution. For obfuscation, a third function is uuencode; here’s some code for decoding; encoding involves reversing the order.
Note that both base64_encode and convert_uudecode increase the size of the data.