3.5.6. digest - calculate digest¶
3.5.6.1. Usage¶
digest -a <algo> [-k <key> | -K <file>] [-s <sig> | -S <file>] FILE|AREA
3.5.6.2. Synopsis¶
Calculate a digest over a FILE or a memory area.
3.5.6.3. Options¶
- -a <algo>
hash or signature algorithm name/driver to use
- -k <key>
use supplied <key> (ASCII or hex) for MAC
- -K <file>
use key from <file> (binary) for MAC
- -s <hex>
verify data against supplied <hex> (hash, MAC or signature)
- -S <file>
verify data against <file> (hash, MAC or signature)