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.

Well I was browsing the web and came across this thread on the House of Fusion mailing list which offers an alternative way to encrypt/decrypt strings for DB insertion

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.


Category: software Time: 2004-07-10 Views: 1

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.230 (s). 12 q(s)