diff --git a/processFiles.go b/processFiles.go index 5a9842e..ff01f65 100644 --- a/processFiles.go +++ b/processFiles.go @@ -61,7 +61,7 @@ func hashFile(filename string) (string, error) { return "", fmt.Errorf("failed to copy data from file to hash function: %v", err) } - return string(h.Sum(nil)), nil + return fmt.Sprintf("%x", h.Sum(nil)), nil } // false if a file is not a LineageOS ROM .zip file