Monu Tools

ハッシュ生成

MD5、SHA-1、SHA-256、SHA-512でテキストのハッシュを生成します。すべてブラウザ内で処理されます。

ハッシュ生成の使い方

  1. 01

    テキストを入力欄に貼り付けるか入力してください。

  2. 02

    使用するハッシュアルゴリズムを選択してください。

  3. 03

    結果が即座に表示されます。コピーアイコンをクリックしてコピーできます。

What a hash is

A hash function takes any input, a word or a whole document, and produces a fixed-size string of characters called a digest. SHA-256, for example, always returns 256 bits written as 64 hexadecimal characters, whether you feed it one letter or a megabyte of text.

Two properties make hashes useful. They are deterministic, so the same input always produces the same digest, and they show the avalanche effect, so changing a single character produces a completely different result. That makes a hash a compact fingerprint of the exact content.

How this tool works

This tool computes SHA-1, SHA-256, SHA-384 and SHA-512 digests of your text locally using the browser's Web Crypto API, then shows the hex result ready to copy. SHA-256 is the sensible default for most purposes.

What hashing is for

Hashing is one-way: you cannot reverse a digest back into the original input. That is the point. It is used to verify integrity (has this file or message changed?), to build checksums, to deduplicate content, and as a building block inside signatures and version-control systems like Git.

Choosing an algorithm

SHA-1 is broken for security-critical uses because collisions can be engineered, though it is still fine as a non-security checksum. Prefer SHA-256 or stronger when security matters. MD5 is intentionally not offered because it is considered insecure.

Not for passwords

Hashing is not encryption and is not, by itself, the right way to store passwords. Raw SHA functions are deliberately fast, which helps attackers guess passwords quickly. For passwords use a slow, salted scheme such as bcrypt, scrypt or Argon2; the bcrypt generator here is built for that.

よくある質問

ハッシュとは何ですか?

ハッシュは任意のテキストを固定長の文字列に変換する一方向関数です。入力が少しでも変わると、出力は完全に異なります。

どのアルゴリズムを使えばよいですか?

セキュリティ用途にはSHA-256またはSHA-512を推奨します。MD5とSHA-1は廃止されており、チェックサムなどの非セキュリティ用途のみに適しています。

ハッシュから元のテキストを復元できますか?

いいえ。ハッシュは一方向です。同じ出力を生成する別の入力(衝突)を探すことはできますが、元のテキストを直接復元することは計算上不可能です。

出典

このツールを埋め込む

このツールをご自身のウェブサイトに追加できます。下のコードをコピーしてください。内容は自動的に最新の状態に保たれます。

<iframe src="https://monu.tools/embed/ja/hash-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

関連ツール