2 Replies Latest reply on Feb 4, 2011 6:54 AM by s.filipowicz

    Translate code from PHP to Coldfusion (SHA1 Encryption)


      Hi everyone,


      I have this bit of code in PHP which I want to do in Coldfusion but I have no idea. Can anyone help me out with this one?

      Will the IC_Checksum value be the same in Coldfusion as it would be in PHP?


      PHP Code:

      $IC_CheckSum = SHA1($Encryptioncode . "|" . IC_Currency . "|" . IC_PaymentMethod . "|" . IC_Issuer);


      Coldfsuion Code: