← 密碼和安全

密碼/安全工具

雜湊生成器

從 UTF-8 文字產生 SHA-256、SHA-384 或 SHA-512 雜湊值。

在您的瀏覽器中執行

UTF-8 文字,最多 1 MiB。接受空文字。

雜湊是確切的 UTF-8 輸入的指紋。空格和換行符很重要。 SHA-256、SHA-384 和 SHA-512 可供選擇。僅這些快速雜湊值不適合儲存密碼;為此目的使用專用的密碼雜湊方案。

English guide · Ghid în română

Practical guide

Create a SHA-256, SHA-384 or SHA-512 digest of UTF-8 text. A digest helps compare exactly the same input; it is not encryption and does not provide a way to recover the original text.

Steps that matter

  1. Enter the exact text, including intentional spaces and line breaks.
  2. Choose the algorithm agreed with whoever will compare the digest.
  3. Generate and compare the complete digest, not just its first few characters.

Worked example

SHA-256 of the three characters abc, without a trailing newline, is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. Adding a space changes the input and its digest.

Check before using the result

  • This tool hashes text, not an uploaded file. Copying file contents as text can change their bytes and will not reliably reproduce a file checksum.
  • A plain SHA digest is not an appropriate password-storage scheme. Matching hashes only prove a comparison if the expected value comes from a trusted source.