تصفح الأدوات

Loading…

Guide

How to use this tool, examples, and related tips.

How to Use the HMAC-SHA384 Generator

Enter your message in the message field.

Enter your secret key.

The HMAC-SHA384 tag is computed instantly and displayed as a 96-character hexadecimal string.

Copy the output for your application or verification workflow.

What Is HMAC-SHA384?

HMAC-SHA384 is the HMAC construction applied using SHA-384 as the underlying hash function. It produces a 384-bit (96-character hex) authentication tag. SHA-384 is a truncated variant of SHA-512 using different initialization constants, operating on 64-bit words for efficiency on 64-bit hardware. HMAC-SHA384 appears in TLS 1.2 and 1.3 cipher suites, government and compliance-mandated cryptographic specifications, and JWT tokens signed with HS384. It offers a larger authentication tag than HMAC-SHA256 — relevant in high-security environments — while remaining within the well-audited SHA-2 family.

When to Use This Tool

TLS cipher suite compliance — HMAC-SHA384 is specified in several TLS cipher suites; use this tool to generate or verify compliant authentication tags.

JWT HS384 debugging — JWT tokens signed with HS384 use HMAC-SHA384. Reproduce the signature manually to debug token signing or verification failures.

High-security MAC requirements — When a larger authentication tag than HMAC-SHA256 is required without moving to the full 512-bit output of HMAC-SHA512.

Government and compliance contexts — Some NIST and compliance framework specifications mandate SHA-384 for certain MAC operations.

Related Tools

  • HMAC-SHA512 generator
  • HMAC-SHA256 generator
  • HMAC generator
  • SHA-384 hash generator
  • JWT decoder

FAQ

Answers about this tool and how your data is handled.

What is the difference between HMAC-SHA384 and HMAC-SHA512?

HMAC-SHA384 produces a 96-character hex tag (384 bits); HMAC-SHA512 produces a 128-character hex tag (512 bits). Both use 64-bit word operations internally. SHA-512 provides a larger output and marginally stronger collision resistance.

Is HMAC-SHA384 faster than HMAC-SHA256?

On 64-bit hardware and for large inputs, HMAC-SHA384 (and HMAC-SHA512) can match or exceed HMAC-SHA256 performance because SHA-384 processes data using 64-bit word operations. For short messages, the difference is negligible.

Does this tool send my data to a server?

No. HMAC computation runs entirely in your browser. Your message and key never leave your machine.

What is the output length of HMAC-SHA384?

Always 96 hexadecimal characters, representing 384 bits.

When should I choose HMAC-SHA384 over HMAC-SHA256?

When a protocol explicitly specifies it, when a larger MAC output is required for security policy reasons, or in TLS contexts where SHA-384 cipher suites are mandated.

نفس الفئة أولاً، ثم أدوات أخرى.