Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
21Lalit authored Dec 15, 2024
1 parent 9f5aaf6 commit db39c8e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion File Integrity Checker/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,15 @@ Steps:
6. If files match: The received file matches the original file. No changes detected.
7. If files differ: The received file has been changed!
🖥️ Code Breakdown
### 🖥️ Expected Results
You can view an example of the expected results
![Expected Results](https://github.com/21Lalit/Powershell-Scripting/blob/main/File%20Integrity%20Checker/Expected-Results.png)
---
## 🖥️ Code Breakdown
Function: Get-FileHashValue
Computes the SHA-256 hash value of a given file.
---
Expand All @@ -67,6 +74,7 @@ function Get-FileHashValue {
param ([string]$filePath)
return (Get-FileHash -Path $filePath -Algorithm "SHA256").Hash
}
Function: Compare-Files
Prompts the user for file paths, validates them, computes hashes, and compares the results.
Expand Down

0 comments on commit db39c8e

Please sign in to comment.