When trying to convert a string to Base64 encoded HmacSHA256, the result from JS and Java are different

前端 未结 0 2012
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 14:43

I have these code examples in Javascript:

function generateAuthHeader(dataToSign) {
    var hash = CryptoJS.HmacSHA256(dataToSign, environment["api-secre         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题