Awesome! Glad to hear it, and even gladder it was so simple! Bravo, and congratulations!
:DeN -- Being and time determine each other reciprocally, but in such a manner that neither can the former - Being - be addressed as something temporal nor can the latter - time - be addressed as a being. Martin Heidegger On Wed, Mar 17, 2010 at 5:44 AM, megan cytron wrote: > > Hi Mark and Denstar-- > Thanks so much for your help! I finally figured it out... In the end, it was > just a matter of getting the padded string into the encrypt function in a way > that would give identical results. I'm still not entirely sure why this works > (and why I didn't try it before...), but it does: > > <!--number to be encrypted--> > <cfset str = 9876543219876543> > > <!--add padding--> > <cfset str = str & toString(binarydecode(000000000000000000000000000000, > 'Hex'))> > > <!--last byte contains total number of padding bytes--> > <cfset str = str & chr(16)> > > Incidentally, this padding method is number three here: > > http://www.di-mgt.com.au/cryptopad.html (a great explanation of all of the > different padding methods) > > Thanks again! > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331833 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

