‎2020 Jul 17 1:48 PM
hi all
I am creating a HMAC encoded string and the key is in Base64
cl_abap_hmac=>calculate_hmac_for_char(
EXPORTING
if_algorithm = 'SHA256'if_key =
if_key *** In Base64
if_data = lv_data_2
IMPORTING
ef_hmacstring = ef_hmacstring_h
ef_hmacxstring = ef_hmacxstring_h
ef_hmacb64string = ef_hmacb64string_h ).
java have a parameter to indicate the key is passed in base64 and the result is diferent that abap.
with abap i get the string of image 1

but i need to generate the string of image 2 wtih mark the checkbox "secret base64 encoded"

Thank you in advance.