雜湊與校驗和

計算文字或檔案摘要

正在加載工具…

關於 雜湊與校驗和

計算文字或檔案摘要

A hash is a one-way fingerprint, not encryption. Matching digests provide evidence that two inputs are the same under the chosen algorithm, but they do not prove who produced the file or prevent a malicious replacement on their own.

如何使用這個開發者工具

  1. Choose a digest algorithm and enter text or select a file.
  2. Calculate the digest and copy the value without changing whitespace or line endings.
  3. Compare it with a trusted reference and record the algorithm alongside the digest.

私隱與資料處理

Digest calculation runs locally in the browser. The input is not intentionally uploaded, but remember that a hash can still reveal whether a guessed value matches a known secret.

相關開發者工具

常見問題

Can a hash be decrypted?

A hash is not encryption and has no decryption key. Weak or short inputs may still be guessed and compared against their digest.

Which algorithm should I choose?

Use the algorithm required by the protocol or publisher. For new integrity workflows, follow current platform guidance instead of choosing only by digest length.

Why did two files produce different hashes?

Any byte difference matters, including line endings, encoding, metadata, or a trailing newline. Compare the exact files and algorithm.