1

Golang file integrity SHA-256 Checker

A simple tool to monitor and verify the integrity of files in a directory using SHA-256 hashes.

📜 Description

This project helps you ensure that the files in a specified directory have not been tampered with. It calculates the SHA-256 hash of each file and stores it in a JSON database. On subsequent runs, it compares the current hashes with the stored ones and logs any discrepancies.

✨ Features

  • 🔍 File Integrity Check: Detects changes in file content.
  • 🆕 New File Detection: Logs new files added to the directory.
  • 🗑️ File Deletion Detection: Logs files that have been deleted.
  • 📄 JSON Database: Stores file hashes in a JSON file.
  • 📋 Verbose Logging: Option to enable verbose logging for detailed output.