Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.10
-
None
-
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
Maven home: E:\Java\apache-maven-3.3.9\bin\..
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_79\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00) Maven home: E:\Java\apache-maven-3.3.9\bin\.. Java version: 1.7.0_79, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_79\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Description
The original ticket called for adding File APIs to DigestUtils:
- md2(File)
- md2Hex(File)
- md5(File)
- md5Hex(File)
- sha1(File)
- sha1Hex(File)
- sha224(File)
- sha224Hex(File)
- sha256(File)
- sha256Hex(File)
- sha384(File)
- sha384Hex(File)
- sha512(File)
- sha512Hex(File)
Instead, we only need two new APIs on MessageDigestAlgorithm:
- digest(File)
- digestHex(File)