雜湊值產生器
產生 MD5、SHA-1、SHA-256、SHA-512 與 HMAC signature,用於校驗和、webhook 測試與變更檢查。
只在瀏覽器裡處理輸入的內容不會送到伺服器。
輸入與結果
輸入的內容只存在這個瀏覽器。重新開啟可以還原上次的操作。
使用情境
- 產生 MD5、SHA-1、SHA-256、SHA-512 與 HMAC signature,用於校驗和、webhook 測試與變更檢查。
- 以瀏覽器本機方式處理輸入,並在複製前檢查結果。
- 搭配 雜湊值產生器 與相關工具縮短工作流程。
範例
- 常見輸入
hello world- 用此範例檢查 雜湊值產生器 的輸入流程。
- 典型輸出
SHA-256: b94d27b9934d3e08... / HMAC-SHA-256: ... / signature report- 複製前用來確認結果格式與後續檢查點。
- 附加範例
release-v1.2.3.tar.gz- 複製前用來確認結果格式與後續檢查點。
- 附加範例
{"event":"payment.created","id":"evt_123"}- 複製前用來確認結果格式與後續檢查點。
常見錯誤
- 產生 MD5、SHA-1、SHA-256、SHA-512 與 HMAC signature,用於校驗和、webhook 測試與變更檢查。
- 如果瀏覽器本機處理方式和真實輸入結構不一致, 輸出不能直接信任。
- 複製的值中如果混入正式密鑰、客戶資料或內部 URL, 分享前必須移除。
複製前確認
- 1再次比較原始輸入與輸出形態。
- 2確認目標執行環境、編碼、時區與安全政策差異。
- 3繼續用相關工具檢查 雜湊值產生器 的結果是否適合下一步。
參考資料
Do not start new work on MD5 for security
RFC 6151 documents that collision attacks on MD5 are practical and advises against new use where signatures or integrity matter. What is left are uses with no adversary, such as finding duplicate files.
依據:RFC 6151
SHA-2 output lengths are fixed by the standard
FIPS 180-4 fixes SHA-256, SHA-384 and SHA-512 at 256, 384 and 512 bits. The same input must give the same digest in any implementation, so a mismatch means your input differs - encoding, or a trailing newline.
依據:FIPS 180-4
Passwords are stored with a key derivation function, not a hash
NIST SP 800-63B requires stored password verifiers to use a salted, deliberately slow key derivation function. A single pass of SHA-256 is fast enough that a leaked table falls to bulk guessing.
依據:NIST SP 800-63B
常見問題
雜湊值產生器 的輸入在哪裡處理?
可行的處理會在瀏覽器中執行,但不要輸入正式密鑰或客戶資料。
結果可以直接用於正式環境嗎?
複製前請再次確認執行環境、編碼、時區與安全政策等環境差異。