Skip to content

Commit

Permalink
sepinf-inc#1849: no need to explicit provider for MD4
Browse files Browse the repository at this point in the history
  • Loading branch information
aberenguel committed Sep 1, 2023
1 parent 1b32faf commit 4d028d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iped-engine/src/main/java/iped/engine/task/HashTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void init(ConfigurationManager configurationManager) throws Exception {
if (!algorithm.equalsIgnoreCase(HASH.EDONKEY.toString())) {
digest = MessageDigest.getInstance(algorithm.toUpperCase());
} else {
digest = MessageDigest.getInstance("MD4", "BC"); //$NON-NLS-1$
digest = MessageDigest.getInstance("MD4"); //$NON-NLS-1$
}
digestMap.put(algorithm, digest);
if (HASH.SHA256.toString().equals(algorithm)) {
Expand Down

0 comments on commit 4d028d1

Please sign in to comment.