Hash Generator Usage

Syntax

usage: java -cp  ${project.artifactId}-${project.version}.jar cz.zcu.mre.mrelib.HashGenerator 
                    [-f <file> | -r | -t <string> | -ts | -u <string>] [-h]

Options

-f,--file file
File's sha1sum.
-h,--help
Print help message.
-r,--random
Use random generator for a random hash.
-t,--text string
Create the string hash.
-ts,--timestamp
Create hash from an actual timestamp. It is based on a Long with 'new Date().getTime()' value.
-u,--unique string
Create unique hash based on all of random generator hash, your string and a timestamp hash. In fact, it calls sha1All(sha1Random() + text + sha1Now())