Java command line utility so compute SHAs messages digest for a given set of parameters.
-
Clone The project:
jcrypt-cli-shasum$ git clone https://github.com/boriswaguia/jcrypt-cli.git
-
Build the project:
jcrypt-cli-shasum$ mvn clean package
-
Run the script loaded with the project:
jcrypt-cli-shasum$ ./jcryptcli-shasum.sh
orjcrypt-cli-shasum$java -jar jcrypt-cli-shasum-1.0-SNAPSHOT.jar
This command line utility use the Java Cryptographic Api to compute digests. The cli support two parameters
-a, --algorithm : 1 (default), 224, 256, 384, 512, 512224, 512256
-f : comma separated list of files
ARGS: A list of strings or files paths (/Users/bwa/dev/opensource/bwa/jcrypt-cli/jcrypt-cli-shasum/jcryptcli-shasum.sh abd)
jcrypt-cli-shasum$ ./jcryptcli-shasum.sh -a 256 -f ${YOUR_DEV_HOME}/jcrypt-cli/jcrypt-cli-shasum/jcryptcli-shasum.sh