卡方檢驗

工具将 256 种位元組的實际出現次數,與輸入長度除以 256 的期望次數比较,累加 (實际 − 期望)² / 期望。

輸入: 文本 (UTF-8) / 檔案結果: 數值

文本輸入

範例

A full-byte alphabet biased toward A

Start with one of every byte, then add sixteen copies of A. Compare departure from a uniform byte distribution; this is not a cryptographic randomness certification.

輸入

be7e19885e85d3059cce40e0.bin

272 bytes

下載

Expected answer

Tolerance ±2.4e-10
240
A full-byte alphabet biased toward B

Start with one of every byte, then add sixteen copies of B. Compare departure from a uniform byte distribution; this is not a cryptographic randomness certification.

輸入

88c9782be50185745e8ede42.bin

272 bytes

下載

Expected answer

Tolerance ±2.4e-10
240
A full-byte alphabet biased toward C

Start with one of every byte, then add sixteen copies of C. Compare departure from a uniform byte distribution; this is not a cryptographic randomness certification.

輸入

43d4200006f6120fb55c3861.bin

272 bytes

下載

Expected answer

Tolerance ±2.4e-10
240
A full-byte alphabet biased toward D

Start with one of every byte, then add sixteen copies of D. Compare departure from a uniform byte distribution; this is not a cryptographic randomness certification.

輸入

16ce31084eac20998b4c1c40.bin

272 bytes

下載

Expected answer

Tolerance ±2.4e-10
240
A full-byte alphabet biased toward E

Start with one of every byte, then add sixteen copies of E. Compare departure from a uniform byte distribution; this is not a cryptographic randomness certification.

輸入

deddf894bcec45534daa7221.bin

272 bytes

下載

Expected answer

Tolerance ±2.4e-10
240

輸入 AAAA 时結果為 1020。這不是列联表檢驗或 p 值計算器,也不能凭此證明資料已经加密。

相关工具

其他

操作参考

查看原始技术文檔 (English)