해시란?
- 알아보기
- 사용
A software download page lists a long string of letters and digits called "SHA-256". What is it for? That is a hash value. Here is a gentle explanation of the basics of the hash value that Check a File's Hash (SHA-256) can check.
What a hash is
It turns a file's contents, by a fixed calculation, into a string of fixed length. It is compared to the file's "fingerprint".
Characteristics of a hash
- Same contents, same value: the result is the same however many times it is calculated.
- One character different, a totally different value: even a slight difference changes the value greatly.
- Cannot be reversed: the original file cannot be restored from the value.
- Fixed length: the same length (64 characters for SHA-256) whether the file is large or small.
What it is used for
- Checking downloads: whether it downloaded correctly.
- Detecting tampering: whether it was rewritten on the way.
- Judging whether files are the same: whether two files have the same contents.
- Finding duplicate files: files with the same value have the same contents.
Steps (checking)
- Choose a file with "Choose one file".
- After a short wait, the hash (SHA-256) is displayed.
- Copy it with "Copy SHA-256".
What a hash cannot tell you
- The file's safety (whether it has a virus)
- The file's author or origin
- Whether the file's contents are correct
A hash is for checking "whether it is the same".
Relation to passwords
Services sometimes store passwords not as they are but as hashes. The same mechanism is used.
예
Checking the hashes of two backup files gave the same value. Although the file names differed, the contents were the same.
Common stumbling blocks
- Confusing it with "encryption": a hash cannot be reversed. Encryption can be undone with a key.
- Comparing only part of the value: it is not certain unless you compare all of it.
Frequently asked questions
If the hashes are the same, is it certainly the same file?
In practice, if the SHA-256 is the same, it is fine to consider it the same file.
요약
A hash is a file's fingerprint. It is used to check whether things are the same.
“파일 해시(SHA-256) 확인” 사용하기 (무료)함께 쓰면 좋은 도구
- ZIP 파일 열기 (압축 풀기): ZIP 안에 무엇이 들어 있는지 확인하고 필요한 파일만 꺼냅니다.
- ZIP 파일 만들기: 여러 파일을 하나의 ZIP으로 묶습니다.
- 강력한 무작위 비밀번호 생성: 강력한 무작위 비밀번호를 즉시 생성합니다.