
NAME

  dkt checksum  - Create and verify checksum lists
  dkt checksize - Create and verify file size lists

SYNOPSIS

  dkt checksum  [<options>] [<arguments>]
  dkt checksize [<options>] [<arguments>]

DESCRIPTION

The program creates checksum lists (checksum) or file size lists (checksize)
and verifies actual checksums/sizes against a given list.

OPTIONS

-R
	skips all settings from dkt.conf configuration files.

-i encoding
	sets up the default input encoding for checksum lists.
	This encoding is used if no byte order marker is found at the
	beginning of input.

-p
	shortcut for "-i ascii".

-c
	verify checksums against a given list. Command line arguments are
	file names containing checksum lists. If no file name is specified
	on the command line the checksum list is read from standard input.
	Without the "-c" option the program generates a checksum list.
	Command line arguments are file names of files to checksum
	except the "-l" option is used.

-l
	When generating checksum lists the command line arguments are
	files containing file name lists. If no command line arguments
	are specified the file name list is read from standard input.

-m digest.encoding
	chooses a message digest algorithm and an encoding for checksums.
	The following message digest algorithms can be used:
	MD5		RSA Data Security, Inc. MD5 Message Digest Algorithm
			(RFC 1321)
	SHA-1		SHA-Algorithms
	SHA-224		(FIPS publications)
	SHA-256
	SHA-384
	SHA-512
	RIPEMD-160	Cryptographic hash function by Hans Dobbertin,
			Antoon Bosselaers and Bart Preneel.
	The following encodings can be used to convert the binary message
	digest data to text:
	HEX		Hexadecimal representation
			(creates 2 text bytes for each binary byte).
	ASCII-85	ASCII-85-Encoding
			(creates 5 text bytes for each four binary bytes).
	R-ASCII-85	Reverse ASCII-85-Encoding
			(creates 5 text bytes for each four binary bytes).

-v
	chooses verbose mode for checksum list verification.
	Messages are printed for both succeeded and failed tests.
	Without this option the program prints messages for failed tests
	only.

-q
	chooses quiet mode for checksum list verification.
	No messages are printed, only the exit status code is set.

RETURN VALUE

The program returns 0 on success, any other value indicates an error.

AUTHOR

Dirk Krause

HISTORY

The "dkt checksum" and "dkt checksize" functions replace the fchksum and
fchksize programs from previous dktools versions.

