im am following [this amazon documentation](http://docs.aws.amazon.com/AWSECommerceService/latest/DG/rest-signature.html) in an attempt to find the algorithm to generate a signature in javascript. I cannot seem to get it to work.

```
// html
// <head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/core.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/sha256.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/hmac.min.js"></script>
// body (javascript)
var test_string = "GET\nwebservices.amazon.com\n/onca/xml\nAWSAccessKeyId=AKIAIOSFODNN7EXAMPLE&AssociateTag=mytag-20&ItemId=0679722769&Operation=ItemLookup&ResponseGroup=Images%2CItemAttributes%2COffers%2CReviews&Service=AWSECommerceService&Timestamp=2014-08-18T12%3A00%3A00Z&Version=2013-08-01"

var signature2 = CryptoJS.HmacSHA256(test_string, "1234567890");
console.log(signature2.toString());

```

I amd getting `8fb6d93342d767d797799aee4ea5a6d8322f0d8554537c313cfa69fa25f1cd07`

I should be getting `j7bZM0LXZ9eXeZruTqWm2DIvDYVUU3wxPPpp+iXxzQc=`

Hmmm anyone knows whats wrong?