// Import the crypto module
const crypto = require('crypto');
// Create an Hmac object
const hmac = crypto.createHmac('sha256', 'your-secret-key');
console.log('HMAC object created successfully');
HMAC object created successfully