Encryption for the masses
In my last post I talked about using the cfusion_encrypt() and cfusion_decrypt() functions for creating URL & DB safe encrypted strings.
As I mentioned before this isn’t for everyone because the functions are undocumented and not available to all users, ie those of you on shared hosting plans.
The code look like so:
This produces a db safe string
This decrypts the string
Pretty straight forward and this should work on your shared hosting environment too! Just be sure to check with your IHP to ensure you have access to these functions.