Hi Team,
I am trying to generate HMAC using below on JS and it gives output :
const crypto = require('crypto');
const secret = Buffer.from('DDASCD');
const hash = crypto.createHmac('sha256', secret).update('446578').digest('base64');
console.log(hash); //output => D+wGGPQkAlGnM9AuBTqRieTN+Y++FixBki500ptR2VU=
When tired on Datapower/APIC above same code it is giving me error 256 bit key required.
I want same output from datapower as above , please help me here.
our client is using same secret key to generate hash , we have to match the same hash in incoming request..
------------------------------
sanket shirke
------------------------------