AnsweredAssumed Answered

Getting Two different results for HmacSHA256

Question asked by mugir01 Employee on May 21, 2018
Latest reply on May 28, 2018 by Mark.ODonohue

Hi,

 

While computing hashing I am getting two different values when retrieving the source from the decoded part 

As below when I decode the payload and refer the decoded payload in the hashing assertion I am getting a different value and when I am hardcoding the decoded part directly in the hash assertion I am getting the different value.

 

The value which I am getting while hardcoding is correct according to the client

 

Please find the below screenshot for reference for decoding the encoded part and then using the decoded value in the hash assertion

 

 

 

Scenario 2

Hard coding the decoded part directly in the hash Assertion as shown below. In this Step, I am getting the correct value.

 

 

 

 

Please help on this

Outcomes