./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)


   2021-10-26 13:18:07 by Nia Alarie | Files touched by this commit (605)
Log message:
security: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./security/cyrus-sasl/distinfo \ 
cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2
   2021-10-07 16:54:50 by Nia Alarie | Files touched by this commit (606)
Log message:
security: Remove SHA1 hashes for distfiles
   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
   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).
	%