← All tasks
🧮
Intermediate

Write an HMAC Signature

⏱ 3 min ⭐ 90 XP 🔁 3 attempts allowed

What you'll do

Write the PHP expression to generate an HMAC-SHA256 signature for a payload using a shared secret.

Scenario

A webhook sender needs to sign its payload so the receiver can verify it wasn't tampered with.

Ready to try it?

Create a free account and subscribe to take "Write an HMAC Signature". Earn 90 XP and track your internship progress.

Already have an account? Sign in