How to get HMAC SHA-256 as hexadecimal code?

Hello!

I was the first to work with cryptography …
I have a question: I need to generate the Signature API, to calculate the signature i should to use the HMAC SHA-256 algorithm. Ok i’m using the TaifunTools extension and method image but I get result as base64 encoded…

How to convert base64 to hexadecimal ???

Thank you!

probably the following extension can help: Security Extension by Peter Zhong to provide hash and encrypt/decrypt methods

for the extensions directory see also App Inventor Extensions | Pura Vida Apps

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Thank you, Taifun!

I could not find the necessary solution and I wrote mine with Javascript. Maybe someone will need it…
HMAC_SHA256_HEX.aia (23.9 KB) .

and this link to check: https://www.freeformatter.com/hmac-generator.html#ad-output.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.