HMAC-SHA256 issue in Shopify oauth (Output does not match)
I'm trying to publish an app on Shopify marketplace by following this documentation. And I'm stuck on step-3 of the oauth documentation wherein you have to do 'HMAC Signature Validation'. Documentation states that you have to process the string (specified below) through HMAC-SHA256 using app's shared secret key. String = "shop=some-shop.myshopify.com×tamp=1337178173" I'm trying to implement the steps using Java. Following is gist of the code that I have used. private static final String HMAC_ALGORITHM = "HmacSHA256"; String key = "hush"; String data = "shop=some-shop.myshopify.com