Package org.apache.commons.codec.cli
Class Digest
java.lang.Object
org.apache.commons.codec.cli.Digest
A minimal command line to run digest over files, directories or a string.
- Since:
- 1.11
- See Also:
- 
Method Summary
- 
Method Details- 
mainRuns the digest algorithm inargs[0]on the file inargs[1]. If there is noargs[1], use standard input.The algorithm can also be ALLor*to output one line for each known algorithm.- Parameters:
- args-- args[0]is one of- MessageDigestAlgorithmsname,- MessageDigestname,- ALL, or- *.- args[1+]is a FILE/DIRECTORY/String.
- Throws:
- IOException- if an error occurs
 
- 
toString
 
-