2016_Crypto_101.pdf

(15881 KB) Pobierz
Crypto 101
lvh
1
2
Copyright 2013-2016, Laurens Van Houtven
This book is made possible by your donations. If you enjoyed it, please
consider making a donation, so it can be made even better and reach
even more people.
This work is available under the Creative Commons Attribution-NonCommercial
4.0 International (CC BY-NC 4.0) license. You can find the full text of
the license at
https://creativecommons.org/licenses/by-nc/4.0/
.
The following is a human-readable summary of (and not a substitute
for) the license. You can:
• Share: copy and redistribute the material in any medium or
format
• Adapt: remix, transform, and build upon the material
The licensor cannot revoke these freedoms as long as you follow
the license terms:
• Attribution: you must give appropriate credit, provide a link to
the license, and indicate if changes were made. You may do so
in any reasonable manner, but not in any way that suggests the
licensor endorses you or your use.
• NonCommercial: you may not use the material for commercial
purposes.
• No additional restrictions: you may not apply legal terms or
technological measures that legally restrict others from doing
anything the license permits.
3
You do not have to comply with the license for elements of the
material in the public domain or where your use is permitted by an
applicable exception or limitation.
No warranties are given. The license may not give you all of the
permissions necessary for your intended use. For example, other rights
such as publicity, privacy, or moral rights may limit how you use the
material.
Pomidorkowi
4
Contents
Contents
5
I Foreword
1
2
3
4
About this book
Advanced sections
Development
Acknowledgments
10
11
13
14
15
II Building blocks
5
Exclusive or
5.1 Description
. . . . . . . .
5.2 A few properties of XOR
.
5.3 Bitwise XOR
. . . . . . .
5.4 One-time pads
. . . . . .
5.5 Attacks on ”one-time pads”
5.6 Remaining problems
. . .
5
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
18
18
19
20
21
23
29
Zgłoś jeśli naruszono regulamin