AES Key Strength Analyzer

Paste a hex or base64 AES key to instantly check its length, entropy, and common weaknesses.

AES Key Input

Auto-detect

Quick Examples

Paste an AES key and click Analyze

Supports hex and base64 — 128, 192, or 256-bit keys

Summary

Paste a hex or base64 AES key to instantly check its length, entropy, and common weaknesses.

How it works

  1. Paste your AES key as a hex string (e.g. a1b2c3d4...) or base64 string into the input field.
  2. The tool auto-detects the encoding format and decodes the raw bytes.
  3. Key length is checked: valid AES sizes are 128-bit (16 bytes), 192-bit (24 bytes), or 256-bit (32 bytes).
  4. Shannon entropy is calculated across the byte distribution; a perfect random key scores ~8.0 bits/byte.
  5. Weakness patterns are tested: all-zero bytes, all-same-byte, sequential ramps, and low unique byte count.
  6. A combined strength score and pass/fail report is displayed with actionable recommendations.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu