mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Changing calculateMd5Hash
This commit is contained in:
parent
bfffa539f7
commit
dce17a87be
@ -176,7 +176,7 @@ public class HashDbIngestModule implements FileIngestModule {
|
|||||||
if (md5Hash == null || md5Hash.isEmpty()) {
|
if (md5Hash == null || md5Hash.isEmpty()) {
|
||||||
try {
|
try {
|
||||||
long calcstart = System.currentTimeMillis();
|
long calcstart = System.currentTimeMillis();
|
||||||
md5Hash = HashUtility.calculateMd5(file, false);
|
md5Hash = HashUtility.calculateMd5Hash(file);
|
||||||
file.setMd5Hash(md5Hash);
|
file.setMd5Hash(md5Hash);
|
||||||
long delta = (System.currentTimeMillis() - calcstart);
|
long delta = (System.currentTimeMillis() - calcstart);
|
||||||
totals.totalCalctime.addAndGet(delta);
|
totals.totalCalctime.addAndGet(delta);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user