It's the TRIM functions, remove them

This works

<cfset testval = "6546">
<cfset inval = encrypt(testval,"sn")>
<cfset outval = decrypt(inval,"sn")>

Original

<cfset testval="6546">
<cfset inval="#encrypt(trim(testval),"sn")#">
<cfset outval="#decrypt(trim(inval),"sn")#">

-- 
Alan Rother
Manager, Phoenix Cold Fusion User Group, www.AZCFUG.org
Twitter: @AlanRother


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347171
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to