How to hash in hmac sha256 with a key in UTF8?

I’ve tried to hash with HMAC STRING but I can’t put the key in UTF8 only mode.

image_2021-05-05_103333

So I’ve checked the result on the website and the “hmacStringOutput” on OB2 doesn’t match with generated key on website.

I’ve tested with the HMAC function in OB1 without checking the “input is Base64” or “HMAC key Base64” checkboxes and that’s good.

image_2021-05-05_104152

Any suggestions please ?

Put your 5gfg… value in a constant string block and then pass it as a variable to the Key parameter.

1 Like

Thanks Ruri !
Sorry to disturbing you with this kind of issue.

1 Like