./security/ent, Entropy calculation and analysis of putative random sequences

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 19981020, Package name: ent-19981020, Maintainer: evaldo

ent is a program which applies various tests to sequences of bytes stored in
files and reports the results of those tests. The program is useful for those
evaluating pseudorandom number generators for encryption and statistical
sampling applications, compression algorithms, and other applications where the
information density of a file is of interest.


Required to build:
[pkgtools/cwrappers]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2015-11-04 02:18:12 by Alistair G. Crooks | Files touched by this commit (434)
Log message:
Add SHA512 digests for distfiles for security category

Problems found locating distfiles:
	Package f-prot-antivirus6-fs-bin: missing distfile fp-NetBSD.x86.32-fs-6.2.3.tar.gz
	Package f-prot-antivirus6-ws-bin: missing distfile fp-NetBSD.x86.32-ws-6.2.3.tar.gz
	Package libidea: missing distfile libidea-0.8.2b.tar.gz
	Package openssh: missing distfile openssh-7.1p1-hpn-20150822.diff.bz2
	Package uvscan: missing distfile vlp4510e.tar.Z

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2013-04-25 18:24:55 by Alistair G. Crooks | Files touched by this commit (4) | Imported package
Log message:
Import ent-19981020 into the Packages Collection.

Originally packaged for wip by evaldo - thanks!

	ent is a program which applies various tests to sequences of
	bytes stored in files and reports the results of those tests.
	The program is useful for those evaluating pseudorandom number
	generators for encryption and statistical sampling
	applications, compression algorithms, and other applications
	where the information density of a file is of interest.

(Modified by me only to hold the distfile in a DIST_SUBDIR, since
the random.zip filename has the possibility to clash with other things)

An example of its usage:

	% dd if=/dev/urandom bs=1k count=10 | ent
	10+0 records in
	10+0 records out
	10240 bytes transferred in 0.001 secs (10240000 bytes/sec)
	Entropy = 7.977398 bits per byte.

	Optimum compression would reduce the size
	of this 10240 byte file by 0 percent.

	Chi square distribution for 10240 samples is 321.50, and randomly
	would exceed this value 0.30 percent of the times.

	Arithmetic mean value of data bytes is 128.5722 (127.5 = random).
	Monte Carlo value for Pi is 3.195779601 (error 1.72 percent).
	Serial correlation coefficient is -0.003620 (totally uncorrelated = 0.0).
	%