eBay / digital-signature-verification-ebay-api

Verification of digital signatures for use by developers sending HTTP requests to eBay's APIs
Apache License 2.0
8 stars 7 forks source link

How to Create the Content-Digest header #26

Closed canyan-ai closed 1 year ago

canyan-ai commented 1 year ago

hello!I have a question about the example of Create the Content-Digest header. How do we use the SHA-256 algorithm to calculate {"hello": "world"} to get the result of sha-256=:X48E9qOokqqrvdts8nOJRJN3OWDUoyWxBf7kbu9DBPE=:? I see The example address is: https://developer.ebay.com/develop/guides/digital-signatures-for-apis