Here’s a thing I built. It’s just a webpage that calculates SHA-(1,224,256,384,512) and HMAC with the same algorithms.
I was using this to help with building a system that relies on HttpSignature. Developers need some help in constructing and validating their HMACs and SHAs.
Pradeep Kumar Salla 2018-October-19
Hi Dino,
Can you please share or publish the java code that you may be using for generating the “Base64-encoded result” on this site:
http://dinochiesa.github.io/hmachash.html
Regards,
Salla
dpc 2019-February-22
Hi, sorry for the late reply. The code that is performing the base64-encoded result, is all in JavaScript and is all visible on that page. It’s not minimized and it’s not part of some huge package or framework module. Just “view source” and you’ll see it. The page itself is static, it does not post-back to a server-side asset.
So: like Dorothy in the land of Oz, you have everything you seek, already!