ハッシュ生成
入力と同時に MD5、SHA-1、SHA-256、SHA-512 のダイジェストを生成します。小文字・大文字の16進数に対応しています。
ブラウザ内だけで動作します。入力した内容はどこにもアップロードされません。
入力と同時にダイジェストが更新されます。SHA-1、SHA-256、SHA-512 は Web Crypto API、MD5 は TypeScript 実装で計算するため、何もブラウザの外に出ません。
ダイジェストを計算中…
ハッシュリファレンス
クイックリファレンス- 32 / 40 / 64 / 128
- MD5、SHA-1、SHA-256、SHA-512 の16進ダイジェストの文字数です。
- MD5
- 高速でキャッシュキーやチェックサムには今も使われますが、セキュリティ用途では破綻しています。
- SHA-1
- 実際の衝突例が示されて以来、署名や証明書の用途では非推奨です。
- SHA-256
- チェックサム、コンテンツアドレッシング、署名での既定の選択です。
- crypto.subtle.digest
- ブラウザでハッシュを計算する Web Crypto API の呼び出しで、ArrayBuffer を返します。
- HMAC
- メッセージ認証のための鍵付きハッシュです。単純なハッシュでは送信者を証明できません。
Go の関連文法ガイド
Go のガイドをすべて見るGo http.Client: unexpected EOF and Connection Reuse Leaks
A body closed without being read cannot be reused, and descriptors pile up. Idle timeouts shorter than the upstream's, MaxIdleConnsPerHost and safe retries.
GoGo context.DeadlineExceeded vs Canceled and Goroutine Leaks
A deadline is retryable and a cancellation is not, and both arrive wrapped. The errors.Is checks, the four handler timeouts, and the goroutine dump that names the leak.
GoGo Module Errors: Checksum Mismatch, 404s, and Proxy Failures
A checksum mismatch is not a cache bug. Separate the proxy, the sum database, and go.sum, then fix the layer the message names instead of editing the hash.
GoGo iota: Enumerations, Bitmask Flags, and Constant Expressions
How iota advances per const line, typed enums with gaps, bit flags with 1 << iota, and the unit scale pattern that shifts with one blank line.