What problem does it solve?
This Skill provides a definitive reference for implementing RFC 2104 HMAC, ensuring developers correctly handle keyed-hashing, padding, and security requirements to prevent common cryptographic implementation errors.
Core Features & Use Cases
- Algorithm Guidance: Provides the exact two-pass HMAC construction formula and step-by-step logic for inner and outer hash operations.
- Security Best Practices: Offers critical advice on key length, periodic refreshment, and the distinction between HMAC security and general hash collision attacks.
- Use Case: Use this Skill when building secure authentication tokens or verifying message integrity to ensure your implementation follows the IETF standard and avoids known pitfalls like improper key padding or truncation.
Quick Start
Use the hmac-rfc2104 skill to explain the step-by-step algorithm for computing an HMAC-SHA256 signature.