Copy link to clipboard
Copied
I'm doing hash for the global iris payment, need the sha1 hash,
coldfusion 9 has sha-1, I tried use this to do the hash, but they said the hash is wrong, I don't know what to do, can anyone help?
and how does the coldfusion do the hash, is there anyway I can see the sha-1 function code?
HI, just let everyone know that I have fixed the issue, the problem was need change the hashed results to lower case. this way will works with the global iris system
Copy link to clipboard
Copied
Check out these articles with similar issues:
http://stackoverflow.com/questions/2959972/hmac-sha1-coldfusion
Copy link to clipboard
Copied
my coldfusion server is 9, MAC-SHA1 is from 10
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi, woohoowu‌,
I dislike sounding trite, but your question is pretty vague.
I can tell you that SHA-1 is no longer very secure, and you should consider using something much stronger, like SHA-256 or SHA-384 (which CF9 does support).
Who said that the hash is wrong? Iris? Maybe they require something stronger than SHA-1.
HTH,
^_^
Copy link to clipboard
Copied
Iriis said the hash is wrong
Copy link to clipboard
Copied
HI, just let everyone know that I have fixed the issue, the problem was need change the hashed results to lower case. this way will works with the global iris system