Ensure you have access to the shiro-tools-hasher-2.0.2-cli.jar
file.
You can either find this in a source build in the buildroot`/tools/hasher/target` directory or via download through Maven.
# Use the following to download from Maven Central into
# ~/.m2/repository/org/apache/shiro/tools/shiro-tools-hasher/2.0.2/shiro-tools-hasher-2.0.2-cli.jar
$ mvn dependency:get -DgroupId=org.apache.shiro.tools -DartifactId=shiro-tools-hasher -Dclassifier=cli -Dversion=2.0.2
Once you have access to the jar, you can run the following command:
$ java -jar shiro-tools-hasher-2.0.2-cli.jar
This will print all available options for standard (argon2, bcrypt) and less secure hashing scenarios.