哈希文本
提供哈希文本的交互处理。
Text is encoded as UTF-8 and processed locally in your browser.
Enter text to begin.
使用步骤
如何使用
- Enter or paste text into the input field.
- Choose SHA-1, SHA-256, SHA-384, or SHA-512.
- Generate the digest, then copy the hexadecimal hash.
Standard Web Crypto algorithms
The page uses the browser’s built-in SubtleCrypto digest operation for SHA-1, SHA-256, SHA-384, and SHA-512. The output is lowercase hexadecimal.
Text stays on your device
Your input is encoded as UTF-8 and hashed locally. Nothing is uploaded, stored, or sent to a third-party service.
Hashes are one-way digests
A hash can help compare or identify data, but it is not encryption and cannot be reversed reliably to recover the original text.
常见问题
你可能还想知道
Which hash algorithms are available?
You can generate SHA-1, SHA-256, SHA-384, and SHA-512 digests.
Does whitespace affect the result?
Yes. Every character, including spaces and line breaks, is part of the input bytes.
Is my text uploaded?
No. Hashing runs locally in your browser through the Web Crypto API.
Should I use SHA-1 for passwords?
No. SHA-1 is included for compatibility checks. Passwords should use a password-specific KDF such as Argon2id, scrypt, or PBKDF2 with a salt.