<?xml version="1.0" encoding="UTF-8"?>
<!-- **************************************************************************
.... For copyright and licensing terms, see the file named COPYING.
.... **************************************************************************
.-->
<?xml-stylesheet href="docbook-xml.css" type="text/css"?>

<refentry id="cubehash">

<refmeta xmlns:xi="http://www.w3.org/2001/XInclude">
<refentrytitle>cubehash</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="manual">user commands</refmiscinfo>
<refmiscinfo class="source">redo</refmiscinfo>
<xi:include href="version.xml" />
</refmeta>

<refnamediv>
<refname>cubehash</refname>
<refpurpose>checksum utility</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>cubehash</command>
<arg choice='plain' repeat='rep'><replaceable>filename(s)</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsection><title>Description</title>

<para>
<command>cubehash</command> prints the CubeHash content hash values of each <filename><replaceable>filename</replaceable></filename> named.  
</para>

<para>
The output format is modelled on that of <citerefentry><refentrytitle>sha256</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
</para>

<note>
The old program that used to go by this name is now <citerefentry><refentrytitle>redo-info</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
</note>

<para>
<command>cubehash</command> tries not to hash the same file multiple times.
If the same <replaceable>filename</replaceable> argument is supplied multiple times, or if by comparing device and i-node numbers it transpires that <command>cubehash</command> has already hashed the file, it prints out the prior hash value without re&#x2010;reading the file.
</para>

</refsection>

<refsection><title>Author</title>
<para><author><personname><firstname>Jonathan</firstname> <surname>de Boyne Pollard</surname></personname></author></para>
</refsection>

</refentry>
