情報エントロピー

バイト分布のシャノンエントロピーを計算します。 高い値だけで暗号化とは断定できません。

入力: テキスト (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

パラメーター

パラメーター既定値入力と選択肢
可視化シャノン尺度シャノン尺度, ヒストグラム (棒グラフ), ヒストグラム (折れ線グラフ), 曲線, 画像

関連ツール

その他

操作の参考資料

元の技術文書を見る (English)