java-How to get SHA or MD5 from a binary file by using java
1. The purpose of this post
I would demo how to use java to get SHA or MD5 from a binary file.
2. Environments
- java 1.8+
- apache commons codec 1.13+
3. Solution and Code
3.1 The maven dependency
3.2 The code