There is one class called DigestUtils in the apache commons-codec, here is a quick how to start tutorial to pickup the jar and do a simple one way hash.
Add a dependency to commons-codec in your pom file
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" </dependencies> |
then update the project ,we can see the jar is included in the project
If you want included the jar in the dependenciy, add one plugin for the assembling
then mvn assembly:assembly you will see the jar with the inlined codec jar files.
<build> |