資訊熵

計算輸入位元組分佈的香农熵;熵较高不能單独證明資料已加密。

輸入: 文本 (UTF-8) / 檔案結果: 結構化 JSON

文本輸入

工具選項

範例

Measure a zero-filled file fragment

All bytes are identical, so the empirical entropy is 0 bits per byte.

輸入

5341e6b2646979a70e576530.bin

256 bytes

下載

Expected answer

Tolerance ±1e-12
0
視覺化
Shannon scale
Measure a balanced DNA alphabet

Four equally frequent ASCII symbols give 2 bits per byte; this is a constructed sequence, not a genome.

輸入

ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT

Expected answer

Tolerance ±2e-12
2
視覺化
Shannon scale
Compare a biased two-symbol sample

The probabilities are 3/4 and 1/4; the answer follows −Σ p log₂ p.

輸入

AAABAAABAAABAAABAAABAAABAAABAAABAAABAAABAAABAAABAAABAAABAAABAAAB

Expected answer

Tolerance ±1e-12
0.8112781244591328
視覺化
Shannon scale
Measure every possible byte exactly once

This deterministic sequence reaches 8 bits per byte. A high score alone does not prove randomness or secure encryption.

輸入

40aff2e9d2d8922e47afd464.bin

256 bytes

下載

Expected answer

Tolerance ±8e-12
8
視覺化
Shannon scale
Locate a transition from padding to a varied byte block

The two 256-byte windows have entropy 0 and 8. The curve reports one value per window.

輸入

922358667ca5cfe1e8082940.bin

512 bytes

下載

Expected answer

JSON
[
    0,
    8
]
視覺化
Curve

参數

参數默認值輸入與選項
視覺化Shannon scaleShannon scale, Histogram (Bar), Histogram (行), 椭圓曲線, 影像

相关工具

其他

操作参考

查看原始技术文檔 (English)