Please visit our sponsor
UNKNOWN //************************************** // Name: Basic String Encryption // Description:Very simple: encrypt a string, using a key. // By: Mischa Balen // // // Inputs:None // // Returns:None // //Assumes:None // //Side Effects:None //This code is copyrighted and has limited warranties. //Please see http://www.Planet-Source-Code.com/xq/ASP/txtCodeId.60/lngWId.9/qx/vb/scripts/ShowCode.htm //for details. //************************************** <cfset variable="your text goes here"> <cfset encrypted="#encrypt(variable, " mykey")#"> <cfoutput> Encrypted: #encrypted# Decypted: #decrypt(encrypted, "MyKey")# </cfoutput>