home | help
pipe-checksum(1)	     General Commands Manual		pipe-checksum(1)

NAME
     pipe-checksum -- Write Stdin to File and Create a File with the Checksum of
     the Data

SYNOPSIS
     pipe-checksum file [-D MD5|SHA1|SHA256|SHA384|SHA512|... | --digest MD5|-
		   SHA1|SHA256|SHA384|SHA512|...]
     pipe-checksum [-h | --help]
     pipe-checksum [-v | --version]

DESCRIPTION
     pipe-checksum  writes  all  data  from  standard  input  into  a given file
     "<file>". Furthermore, it computes the checksum of the data and  writes  it
     to  a new file "<file>.checksum".	The used message digest algorithm can be
     configured, it defaults to SHA256.  The checksum format is BSD-style check-
     sum format, as written for example by the sha256sum  tool.  Therefore,  any
     tool supporting this format can be used for comparison.

ARGUMENTS
     The following arguments may be provided:

     file    Specifies the output file name.

     -D 	  MD5|SHA1|SHA256|SHA384|SHA512|...	     |		--digest
	     MD5|SHA1|SHA256|SHA384|SHA512|...
	     Sets the message digest. Any digest  supported  by  the  underlying
	     libcrypto	library  is  possible. Calling pipe-checksum with no op-
	     tions, or with an invalid digest, provides the  list  of  all  sup-
	     ported digests. Default: SHA256.

     -h | --help
	     Prints command help.

     -v | --version
	     Prints program version.

EXIT STATUS
     The pipe-checksum tool exits with 0 on success, and >0 in case of an error.

EXAMPLES
     date | pipe-checksum date.txt

     sha256sum --check date.txt.checksum

     date | pipe-checksum date.txt --digest SHA384

     dd if=/dev/urandom bs=12345 count=67 | hexdump | pipe-checksum random.txt

     dd  if=/dev/urandom  bs=12345  count=67 | pipe-checksum random.txt --digest
	     SHA512

     sha512sum --check random.txt.checksum

     pipe-checksum --version

     pipe-checksum -h

NOTES
     This program is part of HiPerConTracer. The  latest  version  of  HiPerCon-
     Tracer  can be found on the HiPerConTracer Homepage at HiPerConTracer Home-
     page.

AUTHORS
     Thomas Dreibholz, Homepage

pipe-checksum			  May 26, 2026			pipe-checksum(1)

home | help