Generate MD5, SHA-1, SHA-256, SHA-512 hashes — all computed locally
输入文本Input Text
MD5—
SHA-1—
SHA-256—
SHA-512—
💡 本地处理 · 隐私安全💡 Local Processing · Privacy Safe
所有哈希均在您的浏览器中使用 Web Crypto API 计算,不会发送到任何服务器。
MD5 和 SHA-1 已不建议用于安全场景,仅用于兼容性场景。
推荐使用 SHA-256 及以上算法。
All hashes are computed using the Web Crypto API in your browser — never sent to any server.
MD5 and SHA-1 are not recommended for security purposes, only for compatibility.
SHA-256 and above are recommended.
How to Use This Tool使用说明
Enter any text or string into the input field.
The tool instantly generates MD5, SHA-1, SHA-256, and SHA-512 hashes.
Click the copy button next to any hash to copy it to your clipboard.
All hashing is computed locally using the Web Crypto API (SHA) and a pure JS implementation (MD5).
Use this tool to verify file checksums, generate password hashes for testing, or compare hash values.
在输入框中输入任意文本或字符串。
工具即时生成 MD5、SHA-1、SHA-256 和 SHA-512 哈希值。
点击任意哈希值旁边的复制按钮即可复制到剪贴板。
所有哈希计算在本地完成,SHA 系列使用 Web Crypto API,MD5 使用纯 JS 实现。
可用于验证文件校验和、生成测试用密码哈希、或比较哈希值。
Frequently Asked Questions常见问题
What is a hash? — A hash is a fixed-length string generated from input data using a mathematical algorithm. Even a small change in input produces a completely different hash. Hashes are used for data integrity verification, password storage, and digital signatures.
Which hash algorithm should I use? — For security-sensitive applications, use SHA-256 or SHA-512. MD5 and SHA-1 are considered cryptographically broken and should only be used for non-security purposes like checksums.
Is this safe for generating real passwords? — No. For real password hashing, use specialized algorithms like bcrypt, Argon2, or PBKDF2 with salt. This tool is for quick lookups and testing only.
Can I hash a file? — Currently this tool only hashes text input. To hash a file, you would need to read the file contents and feed them to the hash function. We may add file hashing support in the future.