Skip to main content
woohoowu
Participant
Apr 12, 2016 11:22 AM UTC
Answered

Hash

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?

    This topic is closed to new replies. Start a new post to keep the conversation going.
    woohoowu
    woohoowuCorrect answer
    Participant
    Apr 14, 2016 3:20 PM UTC

    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

    6 replies

    woohoowu
    woohoowuAuthorCorrect answer
    Participant
    Apr 14, 2016 3:20 PM UTC

    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

    Translate
    WolfShade
    Legend
    Apr 13, 2016 1:14 PM UTC

    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,

    ^_^

    Translate
    woohoowu
    woohoowuAuthor
    Participant
    Apr 13, 2016 1:50 PM UTC

    Iriis said the hash is wrong

    Translate
    woohoowu
    woohoowuAuthor
    Participant
    Apr 13, 2016 1:49 PM UTC

    my coldfusion server is 9, MAC-SHA1 is from 10

    Translate
    WolfShade
    Legend
    Apr 13, 2016 1:52 PM UTC

    According to CF documentation, CF9 does support SHA-256 and SHA-384.

    V/r,

    ^_^

    Translate