Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build quick fix #141

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
169 changes: 86 additions & 83 deletions src/chapter_14_appendices/contributions.md
Original file line number Diff line number Diff line change
@@ -1,84 +1,87 @@
0xcaca0
Adam Hyde
Ahmed Mansour
Alice Miller
A Ravi
Ariel Viera
Asher Wolf
AT
Austin Martin
Ben Weissmann
Bernd Fix
Brendan Howell
Brian Newbold
Carola Hesse
Chris Pinchen
Dan Hassan
Daniel Kinsman
Danja Vasiliev
Dévai Nándor
djmattyg007
Douwe Schmidt
Edward Cherlin
Elemar
Emile Denichaud
Emile den Tex
Erik Stein
Erinn Clark
Freddy Martinez
Freerk Ohling
Greg Broiles
Haneef Mubarak
helen varley jamieson
Janet Swisher
Jan Gerber
Jannette Mensch
Jens Kubieziel
jmorahan
Josh Datko
Joshua Datko
Julian Oliver
Kai Engert
Karen Reilly
l3lackEyedAngels
leoj3n
LiamO
Lonneke van der Velden
Malte
Malte Dik
Marta Peirano
Mart van Santen
mdimitrova
Michael Henriksen
Nart Villeneuve
Nathan Andrew Fain
Nathan Houle
Niels Elgaard Larsen
Petter Ericson
Piers
Plato
Punkbob
Roberto Rastapopoulos
Ronald Deibert
Ross Anderson
Sacha van Geffen
Sam Tennyson
Samuel Carlisle
Samuel L. Tennyson
Seth Schoen
Steven Murdoch
StooJ
Story89
Ted W
Ted Wood
Teresa Dillon
therealplato
Tomas Krag
Tom Boyle
Travis Tueffel
Uwe Lippmann
WillMorrison
Ximin Luo
Yuval Adam
zandi
Contributors
============

0xcaca0,
Adam Hyde,
Ahmed Mansour,
Alice Miller,
A Ravi,
Ariel Viera,
Asher Wolf,
AT,
Austin Martin,
Ben Weissmann,
Bernd Fix,
Brendan Howell,
Brian Newbold,
Carola Hesse,
Chris Pinchen,
Dan Hassan,
Daniel Kinsman,
Danja Vasiliev,
Dévai Nándor,
djmattyg007,
Douwe Schmidt,
Edward Cherlin,
Elemar,
Emile Denichaud,
Emile den Tex,
Erik Stein,
Erinn Clark,
Freddy Martinez,
Freerk Ohling,
Greg Broiles,
Haneef Mubarak,
helen varley jamieson,
Janet Swisher,
Jan Gerber,
Jannette Mensch,
Jens Kubieziel,
jmorahan,
Josh Datko,
Joshua Datko,
Julian Oliver,
Kai Engert,
Karen Reilly,
l3lackEyedAngels,
leoj3n,
LiamO,
Lonneke van der Velden,
Malte,
Malte Dik,
Marta Peirano,
Mart van Santen,
mdimitrova,
Michael Henriksen,
Nart Villeneuve,
Nathan Andrew Fain,
Nathan Houle,
Niels Elgaard Larsen,
Petter Ericson,
Piers,
Plato,
Punkbob,
Roberto Rastapopoulos,
Ronald Deibert,
Ross Anderson,
Sacha van Geffen,
Sam Tennyson,
Samuel Carlisle,
Samuel L. Tennyson,
Seth Schoen,
Steven Murdoch,
StooJ,
Story89,
Ted W,
Ted Wood,
Teresa Dillon,
therealplato,
Tomas Krag,
Tom Boyle,
Travis Tueffel,
Uwe Lippmann,
WillMorrison,
Ximin Luo,
Yuval Adam,
zandi,
Zorrino Zorrinno
7 changes: 4 additions & 3 deletions src/chapter_14_appendices/cryptography.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Writing is actually one of the earliest forms of cryptography as not everyone co
Put in another way, encryption is the translation of information written in plaintext into a non-readable form (ciphertext) using algorithmic schemes (ciphers). The goal is to use the right key to unlock the ciphertext and return it back into its original plain text form so it becomes readable again.

Although most encryption methods refer to written word, during World War Two, the US military used Navajo Indians, who traveled between camps sending messages in their native tongue. The reason the army used the Navajo tribe was to protect the information they were sending from the Japanese troops, who famously could not decipher the Navajo's spoken language. This is a very simple example of using a language to send messages that you do not want people to listen into or know what you're discussing.

Why is encryption important?
----------------------------

Expand Down Expand Up @@ -40,21 +41,21 @@ Classical ciphers refer to historical ciphers, which are now out of popular use

In a transposition cipher, the letters themselves are kept unchanged, but the order within the message is scrambled according to some well-defined scheme. An example of a transposition cipher is Skytale, which was used in ancient Rome and Greece. A paperstrip was wrapped around a stick and the message written across it. That way the message could not be read unless wound around a stick of similar diameter again.

![Cryptography](assets/crypto_1.png)
![Cryptography](crypto_1.png)

*Image: Skytale taken from Wikimedia Commons (3.10.12)*

A substitution cipher is a form of classical cipher whereby letters or groups of letters are systematically replaced throughout the message for other letters (or groups of letters). Substitution ciphers are divided into monoalphabetic and polyalphabetic substitutions. The Caesar Shift cipher is common example of amonoalphabetic substitution ciphers, where the letters in the alphabet are shifted in one direction or another.

![Cryptography](assets/crypto_2.png)
![Cryptography](crypto_2.png)

*Image: Caesar Shift Cipher taken from Wikimedia Commons (3.10.12)*

Polyalphabetic substitutions are more complex than substitution ciphers as they use more than one alphabet and rotate them. For example, The Alberti cipher, which was the first polyalphabetic cipher was created by Leon Battista Alberti, a 15th century Italian, Renaissance polymath and humanist who is also credited as the godfather of western cryptography. His cipher is similar to the Vigenère cipher, where every letter of the alphabet gets a unique number (e.g. 1-26). The message is then encrypted by writing down the message along with the password repeatedly written beneath it.

In the Vigenère cipher the corresponding numbers of the letters of message and key are summed up (with numbers exceeding the alphabet being dragged around the back) making the message so unreadable that it couldn't be deciphered for centuries (nowadays, with the help of computers, this obviously isn't true anymore).

![Cryptography](assets/crypto_3.png)
![Cryptography](crypto_3.png)

*Image: Vigenère cipher taken from Wikimedia Commons (3.10.12)*

Expand Down
2 changes: 2 additions & 0 deletions src/convert_to_html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ for d in chapter*; do
pandoc -s -S --toc -f markdown -t html --css=../handbook.css --title="CryptoParty handbook - $TITLE" -B $DIR/$d/$d.before -A $DIR/$d/$d.after $DIR/$d/$d.mdidx -o $DIR/$d/$d.html
python extract_toc.py $DIR/$d/$d.html | sed "s/\"#/\"$d\/$d.html#/" >> $IDX
rm -f $DIR/$d/$d.mdidx
rm -f $DIR/$d/$d.before
rm -f $DIR/$d/$d.after
cp -au $d/*.png $d/*.jpg $DIR/$d 2>/dev/null
done
cp -au handbook.css $DIR/
Expand Down
2 changes: 2 additions & 0 deletions src/convert_to_tex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ cat > $DIR/main.tex <<EOF
\usepackage{pdfpages}
\usepackage{tocloft}
\usepackage{upquote}
\usepackage{longtable}
\usepackage{booktabs}

\def\tightlist{}

Expand Down