HMAC SHA1 ColdFusion

后端 未结 3 1938
孤独总比滥情好
孤独总比滥情好 2020-12-06 07:51

Please help! I have been pulling out my hair over this one. :)

I have a site that I need to HMAC SHA1 for authentication. It currently works with another language

3条回答
  •  半阙折子戏
    2020-12-06 08:25

    Doing an HMAC-SHA1 thing myself. Best I can say is that I found this old function. Has worked great for what I am doing thus far. Forgot where I found it though so I can't credit the author.

    For your Base 64 stuff... run this function on your encryption, then just do a cfset newString = toBase64(oldString) on what is returned.

    
       
       
       
       
    
       
       
       
       
    
       
       
       
       
    
       
    
    

提交回复
热议问题