Qui-quadrado

A frequência observada de cada um dos 256 bytes é comparada a comprimento da entrada / 256, somando (observado − esperado)² / esperado.

Entrada: Texto (UTF-8) / Um arquivoResultado: Valor numérico

Entrada de texto

Exemplos

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.

Entrada

be7e19885e85d3059cce40e0.bin

272 bytes

Baixar

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.

Entrada

88c9782be50185745e8ede42.bin

272 bytes

Baixar

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.

Entrada

43d4200006f6120fb55c3861.bin

272 bytes

Baixar

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.

Entrada

16ce31084eac20998b4c1c40.bin

272 bytes

Baixar

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.

Entrada

deddf894bcec45534daa7221.bin

272 bytes

Baixar

Expected answer

Tolerance ±2.4e-10
240

AAAA resulta em 1020. Não é um teste de tabela de contingência, uma calculadora de valor p nem uma prova de criptografia.

Ferramentas relacionadas

Outros

Referência da operação

Ver a documentação técnica original (English)