title: SHA256 different values for same String
body: <p>I am generating the SHA256 of the following string</p>
  
  <pre><code>{
      "billerid": "MAHA00000MUM01",
      "authenticators": 
      [
          {
              "parameter_name": "CA Number",
              "value": "210000336768"
          }
      ],
      "customer": 
      {
          "firstname": "ABC",
          "lastname": "XYZ",
          "mobile": "9344895862",
          "mobile_alt": "9859585525",
          "email": "abc@billdesk.com",
          "email_alt": "abc2@billdesk.com",
          "pan": "BZABC1234L",
          "aadhaar": "123123123123"
      },
      "metadata": 
      {
          "agent": 
          {
              "agentid": "DC01DC31MOB528199558"
          },
          "device": 
          {
              "init_channel": "Mobile",
              "ip": "124.124.1.1",
              "imei": "490154203237518",
              "os": "Android",
              "app": "AGENTAPP"
          }
      },
      "risk":
      [
          {
            "score_provider": "DC31",
            "score_value": "030",
            "score_type": "TXNRISK"
          },
          {
            "score_provider": "BBPS",
            "score_value": "030",
            "score_type": "TXNRISK"
          }
      ]
  }
  </code></pre>
  
  <p>I am getting different SHA256 output from different sources.
  This website: <a href="https://www.freeformatter.com/sha256-generator.html#ad-output" rel="nofollow noreferrer">https://www.freeformatter.com/sha256-generator.html#ad-output</a> 
  calculates the SHA256 of the above string: 053353867b8171a8949065500d7313c69fe7517c9d69eaff11164c35fcb14457</p>
  
  <p>This website(<a href="https://emn178.github.io/online-tools/sha256.html" rel="nofollow noreferrer">https://emn178.github.io/online-tools/sha256.html</a>) gives the SHA256 as eae5c26759881d48a194a6b82a9d542485d6b6ce96297275c136b1fa6712f253</p>
  
  <p>I am using CryptoJs library in Javascript to calculate SHA256 which also gives eae5c26759881d48a194a6b82a9d542485d6b6ce96297275c136b1fa6712f253 this result.</p>
  
  <p>I want the SHA256 calculated to be: 053353867b8171a8949065500d7313c69fe7517c9d69eaff11164c35fcb14457</p>
  
  <p>Why these is difference in SHA256 calculation over different places?</p>