ent.1 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. .\" $OpenBSD: ent.1,v 1.2 2013/11/27 22:51:55 jca Exp $
  2. .TH ENT 1
  3. .SH NAME
  4. ent - pseudo random number sequence test
  5. .SH SYNOPSIS
  6. ent [ -b -c -f -t -u ] [ infile ]
  7. .SH DESCRIPTION
  8. Preforms Entropy, Chi-square, Arithmetic Mean, Monte-Carlo-Pi and Serial Correlation tests.
  9. .SH OPTIONS
  10. .B -b
  11. The input is treated as a stream of bits rather than bytes.
  12. .B -c
  13. Print a table of the number of occurrences of each possible byte (or bit, if the -b option is also specified) value, and the fraction of the overall file made up by that value. Printable characters in the ISO 8859-1 Latin-1 character set are shown along with their decimal byte values.
  14. .B -f
  15. Fold upper case letters to lower case before conducting tests. Folding is done based on the ISO 8859-1 Latin-1 character set.
  16. .B -t
  17. Terse mode output is written in Comma Separated Value (CSV) format.
  18. .B -u
  19. Print basic usage information.
  20. .SH FILES
  21. If no infile is specified, ent reads from stdin. Output is always written to stdout. ent processes one infile at a time.
  22. .SS TERSE MODE OUTPUT FORMAT
  23. In Terse mode, row 0 is a header row which identifies the content of row 1. If the -c option is specified, rows 2 and 3, which contain character count information, are appended. If the -b option is specified, only two type 3 rows are shown for bits 0 and 1. Otherwise, 256 type 3 rows are shown, one for each possible byte.