Skip to Content
図解まるわかり セキュリティのしくみ
book

図解まるわかり セキュリティのしくみ

by 増井 敏克
September 2018
Beginner to intermediate
224 pages
5h 33m
Japanese
Shōeisha
Content preview from 図解まるわかり セキュリティのしくみ
134
 データを送受信するとき、処理が正常に終了しても、通信経路上で改ざ
んされていると大変です。また、受け取ったデータが壊れていると、その
後の処理が進められません。
 そこで、送信されたデータと受信したデータが同一であることを確認す
る必要があります。このような場面で使われるのがで、ハッシュ
を求めるために使われる処理を、求められた値を
と呼びます。ハッシュには以下の特徴があります(図5-10)。
ハッシュ関数を適用した結果から元のメッセージが推定できない
メッセージの長さに関係なく、ハッシュ値の長さが一定である
同じハッシュ値になる別のメッセージを作成することが困難である
 送信されたデータと内容が少しでも変わっていると、ハッシュ値は大幅
に変わります。このため、受信したデータのハッシュ値を比較すること
で、同一のデータであることを確認できます。
 ハッシュが使われる例として、Webサイトからダウンロードしたファイ
ルが壊れていないことを確認する用途があります。ダウンロードするファ
イルと一緒に、そのファイルのハッシュ値を公開しておくことにより、ダ
ウンロードした人は正しいファイルだと確認できます(図5-11)。
 パスワードを保管する目的で使用されることもあります。入力されたパ
スワードを管理者はそのまま保管するのではなくハッシュ値で保管し、ロ
グイン時にはパスワードではなくハッシュ値を比較してログイン処理を行
います。ハッシュ値が漏えいしても、パスワードはハッシュ値から求める ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

図解まるわかり クラウドのしくみ

図解まるわかり クラウドのしくみ

西村 泰洋
エンジニアが学ぶ会計システムの「知識」と「技術」

エンジニアが学ぶ会計システムの「知識」と「技術」

広川 敬祐, 五島 伸二, 小田 恭彦, 大塚 晃, 川勝 健司

Publisher Resources

ISBN: 9784798157252