← Mật khẩu và bảo mật

Mật khẩu/công cụ bảo mật

Trình tạo hàm băm

Tạo các hàm băm SHA-256, SHA-384 hoặc SHA-512 từ văn bản UTF-8.

Chạy trong trình duyệt của bạn

Văn bản UTF-8, tối đa 1 MiB. Văn bản trống được chấp nhận.

Hàm băm là dấu vân tay của đầu vào UTF-8 chính xác. Dấu cách và ngắt dòng rất quan trọng. SHA-256, SHA-384 và SHA-512 có sẵn. Chỉ riêng các hàm băm nhanh này không phù hợp để lưu trữ mật khẩu; sử dụng sơ đồ băm mật khẩu chuyên dụng cho mục đích đó.

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.