handouts/ho01.tex
changeset 365 942205605c30
parent 358 8787c16bc26e
child 366 34a8f73b2c94
equal deleted inserted replaced
364:e4a879d442d5 365:942205605c30
   368 before hashing (this is done in Line 15). Our web-application
   368 before hashing (this is done in Line 15). Our web-application
   369 will now store cookies like 
   369 will now store cookies like 
   370 
   370 
   371 \begin{figure}[p]
   371 \begin{figure}[p]
   372 \lstinputlisting{../progs/App4.js}
   372 \lstinputlisting{../progs/App4.js}
   373 \caption{\label{hashsalt}}
   373 \caption{A Node.js web-app that sets a cookie in the client's
       
   374 browser for counting the number of visits to a page.\label{hashsalt}}
   374 \end{figure}
   375 \end{figure}
   375 
   376 
   376 \begin{center}\tt
   377 \begin{center}\tt
   377 \begin{tabular}{l}
   378 \begin{tabular}{l}
   378 1 + salt - 8189effef4d4f7411f4153b13ff72546dd682c69\\
   379 1 + salt - 8189effef4d4f7411f4153b13ff72546dd682c69\\
   606 
   607 
   607 \begin{center}
   608 \begin{center}
   608 \url{http://xkcd.com/538/}
   609 \url{http://xkcd.com/538/}
   609 \end{center}
   610 \end{center}
   610 
   611 
   611 \noindent
   612 \noindent If you want to know more about passwords, the book
   612 If you want to know more about passwords, I recommend viewing
   613 by Bruce Schneier about Applied Cryptography is recommendable,
   613 some youtube videos from the PasswordCon(ference) which takes
   614 though quite expensive. There is also another expensive book
   614 place each year. The book by Bruce Schneier about Applied
   615 about penetration testing, but the readable chapter about
   615 Cryptography is also recommendable, though quite expensive.
   616 password attacks (Chapter 9) is free:
   616 There is also another expensive book about penetration
       
   617 testing, but the readable chapter about password attacks
       
   618 (Chapter 9) is free:
       
   619 
   617 
   620 \begin{center}
   618 \begin{center}
   621 \url{http://www.nostarch.com/pentesting}
   619 \url{http://www.nostarch.com/pentesting}
   622 \end{center}
   620 \end{center}
   623 
   621