Copy link to clipboard
Copied
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:
???
Thanks!
Copy link to clipboard
Copied
I see, so you want to hash a value? Have you tried the ambiguously-named hash() function?
And yes, two identical strings hashed in an identical algorithm should be identical regardless of the technology that did the work.
Copy link to clipboard
Copied
Great, thanks!!