Ajax call not working with Decrypto : I have to convert a encrypted data response back to plain text.

For this I am using a ajax post call to get the data response and than on sucess passing that data response a decrypto function and getting back the response in plain text (this is the idea)

Now, when I created a Ajax post call and than passing that decrypto their on success nothing is happening

I am sure my decrypto is working

Here is working fiddle for that

https://jsfiddle.net/yktup39e/

Now, problem is in the Ajax. I have only once make an Ajax call so I pretty much sure there will problem in that. But I am not getting that.

This is my code-


    <!DOCTYPE html>
    <html>
    <head>
        <script src="tripledes.js"></script>
        <script src="mode-ecb.js"></script>
        <script type="text/javascript">
    $('#action-button').click(function() {
       $.ajax({
          url: 'http://192.168.168.76:8080/HTMLPortingNewService/GetData?ChartName=widget3LineChart&lob=M&carrier=0&enrollmenttype=0&state=0&agent=0&fromdate=04%2F03%2F2015&todate=05%2F03%2F2015&requestID=499F6BF5E4610454A887AB37AF0814E8',
        error: function() {
             $('#info').html('<p>An error has occurred</p>');
          },
         method: "POST",
      headers: {
        "cache-control": "no-cache",
        "postman-token": "ac20a050-a8c8-6d58-4350-66141d519394",
        "content-type": "application/x-www-form-urlencoded"
      },
      data: {
        "username": "aHRtbHVzZXIx",
        "password": "SHRtbDIwMTY="
      },
          success: function(data, DES) {
            var keyHex = CryptoJS.enc.Utf8.parse(keyString);
    
            var decrypted = CryptoJS.DES.decrypt({
                ciphertext: CryptoJS.enc.Base64.parse(cipherTextString)
            }, keyHex, {
                mode: CryptoJS.mode.ECB,
                padding: CryptoJS.pad.Pkcs7
            });
    
            alert(decrypted);
    
            return decrypted.toString(CryptoJS.enc.Utf8);
        }
    });
    </script>
    </head>
    <body>
       
    
    <button id="action-button">Click me to load info!</button>
    <div id="info"></div>
    
    </body>
    </html> 


Can anyone please help me with that??

