@VLAZ the problem is ,the resulting decoded value is not correctly ...the documentaion suggest using of php (using pack function) but we are using Js,,,so we were move with Buffer function
Am working with payment intergration in my project. I am facing the problem on decode the secret into hex ..and use HASHMAC256 to encrypt my message + the resulting decoded hex...I was thinking maybe their is a problem in way js decode into HEX