What is a Cryptographic Hash? #371
pwgit-create
announced in
File-Integrity-Scanner
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A cryptographic hash is a mathematical function that converts data (like a file, password, or message) into a fixed-size string of characters called a hash value, digest, or checksum.
Example:
Even a tiny change in the file produces a completely different hash.
Main properties of a cryptographic hash
1. Deterministic
The same input always produces the same hash.
2. One-way function
You cannot realistically reverse the hash to recover the original data.
This is what makes hashes useful for:
3. Avalanche effect
A tiny modification completely changes the output.
Example:
4. Fixed output size
Regardless of input size, the hash length stays the same.
Examples:
Why cryptographic hashes matter for file integrity
Your scanner works because:
This allows detection of:
Beta Was this translation helpful? Give feedback.
All reactions