Android Question Help to generate a SHA-256 hash for integrity verification (like hmac - python)

prbmjr

Active Member
Licensed User
Hi every one,

I need some help to generate the same functionality of the python function : hmac - https://docs.python.org/3/library/hmac.html

I found some examples in the forum using MessageDigest object, but the function GetMessageDigest doesn't have the key and the data to be processed in the parameters like hmac function, how can I generate the same functionality in B4A?

Thanks in advance!
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
 
Upvote 0

prbmjr

Active Member
Licensed User

Hi Erel,

You are amazing!!! This is exactly that I need!!!

Thank you!!
 
Upvote 0
Top