Skip to content

Latest commit

 

History

History

jcrypt-cli-shasum

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Description

Java command line utility so compute SHAs messages digest for a given set of parameters.

How to use

  1. Clone The project: jcrypt-cli-shasum$ git clone https://github.com/boriswaguia/jcrypt-cli.git

  2. Build the project: jcrypt-cli-shasum$ mvn clean package

  3. Run the script loaded with the project: jcrypt-cli-shasum$ ./jcryptcli-shasum.sh or jcrypt-cli-shasum$java -jar jcrypt-cli-shasum-1.0-SNAPSHOT.jar

Description

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)

Example

jcrypt-cli-shasum$ ./jcryptcli-shasum.sh -a 256 -f ${YOUR_DEV_HOME}/jcrypt-cli/jcrypt-cli-shasum/jcryptcli-shasum.sh