Craig328's Profile User Rating: *****

Reputation: 1926 Grandmaster
Expert w/DIC++
Active Posts:
3,472 (1.42 per day)
13-January 08
Profile Views:
Last Active:
User is offline Sep 29 2014 11:26 AM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Dream Kudos:
Expert In:

Latest Visitors

Icon   Craig328 <cfloop from=1 to=infinity><cfif IsItFiveOClockYet(Now())><cfbreak></cfif></cffloop><cfset goHome = Now()>

Posts I've Made

  1. In Topic: encrypt and decrypt AES ECB 256

    Posted 16 Sep 2014

    So you're saying this is the part that's erroring?

    If so, try this and see what you get:
    <cfset variables.encString = encrypt(stFields,theKey,theAlgorithm,theEncoding)>
    <cfdump var="#variables.encString#">
    <cfhttp url="" method="post" charset="ISO-8859-1" throwonerror="yes" result="httpResponse">
    <cfhttpparam type="formfield"name="PostData" value="#variables.encString#"/>

    Basically, encrypt the string outside of the cfhttpparam tag and see whether that errors or not. If that cfset errors then it is something to do with the encryption for certain.

    In cases like this, it helps to make sure you're targeting the correct piece of code for an error fix.
  2. In Topic: encrypt and decrypt AES ECB 256

    Posted 16 Sep 2014

    Try placing them inside the quotes:
    <cfset stFields ="{requesttype = 'eftaddonetimecompletetransaction'
    ,transactiontypecode = 'WEB'}"/>

    The two equal signs suggests that you're creating a literal string that will be evaluated elsewhere. The curly brackets then are probably also meant to be evaluated elsewhere as well.

    Try making those changes and see what you get.

    Edit: you'll also need to change all your double quotes to single quotes for anything inside the stFields variable.
  3. In Topic: encrypt and decrypt AES ECB 256

    Posted 16 Sep 2014

    Are you meaning to put the curly brackets in on lines 3 and 25?
  4. In Topic: encrypt and decrypt AES ECB 256

    Posted 16 Sep 2014

    Tell you what, I re-opened this in case I was being an ass. It happens frequently enough that I need to check myself. :)

    Do us a favor: describe the error you're getting. The way to troubleshoot a piece of code that's not working is to first describe the way it's not working.
  5. In Topic: encrypt and decrypt AES ECB 256

    Posted 15 Sep 2014

    You're kidding right?

My Information

Member Title:
I make this look good
Age Unknown
October 19
Woodstock, GA
Full Name:
Years Programming:
Programming Languages:
ColdFusion, some ASP classic, HTML, Javascript, CSS, SQL...all that happy stuff.

Contact Information

Website URL:
Website URL


Page 1 of 1
  1. Photo

    Craig328 Icon

    11 Mar 2013 - 08:08
    Vamsc443, go ahead and re-check the thread for my response. Also, please understand that everyone who is here helping devs on DIC does so in a volunteer fashion. We don't get paid to render assistance. We do it because we're nice folks trying to help others.
  2. Photo

    vamsc443 Icon

    11 Mar 2013 - 07:52
    Sorry Craig328
  3. Photo

    Craig328 Icon

    08 Mar 2013 - 07:28
    :rolleyes: Yep, I'll get right on that.
  4. Photo

    vamsc443 Icon

    08 Mar 2013 - 07:17
    hi Craig328 i have updated my code also.please look on that
  5. Photo

    Craig328 Icon

    14 Nov 2012 - 06:33
    Why? Did you switch teams?
  6. Photo

    BenignDesign Icon

    14 Nov 2012 - 05:13
    Can I be a lez friend, too?!?!?!
  7. Photo

    Craig328 Icon

    17 Aug 2012 - 06:45
    Only if you'll spoon me (but only when I want it).
  8. Photo

    no2pencil Icon

    17 Aug 2012 - 06:36
    Lez Be Friends?!
  9. Photo

    Craig328 Icon

    23 May 2012 - 12:09
    I am so your friend. Sad panda that!
  10. Photo

    BenignDesign Icon

    16 Dec 2011 - 12:55
    You are not my friend. Now I am a sad panda.
  11. Photo

    Craig328 Icon

    06 Jan 2011 - 12:12
    My dazzling repartee leaves people speechless?
    I dunno.
  12. Photo

    Alex6788 Icon

    06 Jan 2011 - 11:04
    Hey, thanks for adding me as a friend. How is it that you have zero comments?
Page 1 of 1