0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Cryptosystem] 暗号文とハッシュ値の違い

Posted at

暗号文とハッシュ値の違い

項目 ハッシュ値 暗号文
目的 データの整合性確認、改ざん検出 データの機密性保
元のデータに戻せるか いいえ(不可逆) はい(可逆)
主な利用シーン パスワードの保存、データの改ざん検知 通信の暗号化、ファイルの保護
主なアルゴリズム SHA-256, MD5, SHA-1 AES, RSA, DES
入力データの長さ 可変長 可変長
出力データの長さ 固定長(例:SHA-256は256bit) 可変長
鍵の使用 不要 必要
利用例 チェックサム、電子署名 HTTPS通信、ファイル暗号化

暗号文の利用プロセス

ハッシュ値の利用プロセス

参考リンク

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?