




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Cryptography and Network Security Principles and Practices, Fourth Edition By William Stallings Publisher : Prentice Hall Pub Date : November 16, 2005 Print ISBN-10 : 0-13-187316- Print ISBN-13 : 978-0-13-187316- eText ISBN-10 : 0-13-187319- eText ISBN-13 : 978-0-13-187319- Pages : 592
In this age of viruses and hackers, of electronic eavesdropping and electronic fraud, security is paramount.
As the disciplines of cryptography and network security have matured, more practical, readily available applications to enforce network security have developed. This text provides a practical survey of both the principles and practice of cryptography and network security. First, the basic issues to be addressed by a network security capability are explored through a tutorial and survey of cryptography and network security technology. Then, the practice of network security is explored via practical applications that have been implemented and are in use today.
Inside Back Cover (^) InsideBackCover
[Page ii]
Library of Congress Cataloging-in-Publication Data on File
Vice President and Editorial Director, ECS: Marcia J. Horton
Executive Editor: Tracy Dunkelberger
Editorial Assistant: Christianna Lee
Executive Managing Editor: Vince O'Brien
Managing Editor: Camille Trentacoste
Production Editor: Rose Kernan
Director of Creative Services: Paul Belfanti
Cover Designer: Bruce Kenselaar
Managing Editor, AV Management and Production: Patricia Burns
Art Editor: Gregory Dulles
Manufacturing Manager: Alexis Heydt-Long
Manufacturing Buyer: Lisa McDowell
Marketing Manager: Robin O'Brien
Marketing Assistant: Barrie Reinhold
© 2006 Pearson Education, Inc.
Pearson Prentice Hall
Pearson Education, Inc.
Upper Saddle River, NJ 07458
All rights reserved. No part of this book may be reproduced, in any form or by any means, without permission in writing from the publisher.
[Page xi]
Even the natives have difficulty mastering this peculiar vocabulary.
The Golden Bough , Sir James George Frazer
Symbol Expression Meaning
D, K D( K, Y ) Symmetric decryption of ciphertext Y using secret key K. D, PRa D( PR (^) a , Y ) Asymmetric decryption of ciphertext Y using A's private key PRa D, PU (^) a D( PU (^) a , Y ) Asymmetric decryption of ciphertext Y using A's public key PUa E, K E( K, X ) Symmetric encryption of plaintext X using secret key K. E, PRa E( PR (^) a , X) Asymmetric encryption of plaintext X using A's private key PRa E, PU (^) a E( PU (^) a , X) Asymmetric encryption of plaintext X using A's public key PUa K Secret key PRa Private key of user A PUa Public key of user A C, K C( K, X ) Message authentication code of message X using secret key K. GF( p ) The finite field of order p , where p is prime. The field is defined as the set Z (^) p together with the arithmetic operations modulo p.
GF(2 n ) The finite field of order 2 n. Z (^) n Set of nonnegative integers less than n gcd gcd( i , j ) Greatest common divisor; the largest positive integer that divides both i and j with no remainder on division. mod a mod m Remainder after division of a by m. mod, a b (mod m ) a^ mod^ m^ =^ b^ mod^ m
mod, a b (mod m ) a mod m b mod m dlog dlog a,p ( b ) Discrete logarithm of the number b for the base a (mod p )
φ φ( n ) The number of positive integers less than n and relatively prime to n. This is Euler's totient function.
Σ a 1 + a 2 + ... + a n
a 1 x a 2 x ... x a n
| i | j i divides j , which means that there is no remainder when j is divided by i
|,| | a | Absolute value of a
|| x || y x concatenated with y
x y x^ is approximately equal to^ y
x y Exclusive-OR ofof x and y for multiple-bit variables^ x^ and^ y^ for single-bit variables; Bitwise exclusive-OR
, x The largest integer less than or equal to^ x x S The element x is contained in the set S. A ( a 1 , a 2 , ..., a (^) k ) The integer A corresponds to the sequence of integers ( a 1 , a 2 , ..., a (^) k )
[Page xiii (continued)]
It is the purpose of this book to provide a practical survey of both the principles and practice of cryptography and network security. In the first two parts of the book, the basic issues to be addressed by a network security capability are explored by providing a tutorial and survey of cryptography and network security technology. The latter part of the book deals with the practice of network security: practical applications that have been implemented and are in use to provide network security.
The subject, and therefore this book, draws on a variety of disciplines. In particular, it is impossible to appreciate the significance of some of the techniques discussed in this book without a basic understanding of number theory and some results from probability theory. Nevertheless, an attempt has been made to make the book self-contained. The book presents not only the basic mathematical results that are needed but provides the reader with an intuitive understanding of those results. Such background material is introduced as needed. This approach helps to motivate the material that is introduced, and the author considers this preferable to simply presenting all of the mathematical material in a lump at the beginning of the book.
[Page xiii (continued)]
The book is intended for both an academic and a professional audience. As a textbook, it is intended as a one-semester undergraduate course in cryptography and network security for computer science, computer engineering, and electrical engineering majors. It covers the material in IAS2 Security Mechanisms, a core area in the Information Technology body of knowledge; NET4 Security, another core area in the Information Technology body of knowledge; and IT311, Cryptography, an advanced course; these subject areas are part of the Draft ACM/IEEE Computer Society Computing Curricula 2005.
[Page xiv]
The book also serves as a basic reference volume and is suitable for self-study.
[Page xiv (continued)]
There is a Web site for this book that provides support for students and instructors. The site includes links to other relevant sites, transparency masters of figures and tables in the book in PDF (Adobe Acrobat) format, and PowerPoint slides. The Web page is at WilliamStallings.com/Crypto/Crypto4e.html. As soon as typos or other errors are discovered, an errata list for this book will be available at WilliamStallings.com. In addition, the Computer Science Student Resource site, at WilliamStallings.com/ StudentSupport.html, provides documents, information, and useful links for computer science students and professionals.
[Page xiv (continued)]
For many instructors, an important component of a cryptography or security course is a project or set of projects by which the student gets hands-on experience to reinforce concepts from the text. This book provides an unparalleled degree of support for including a projects component in the course. The instructor's manual not only includes guidance on how to assign and structure the projects, but also includes a set of suggested projects that covers a broad range of topics from the text:
[Page xv]
● Research projects: A series of research assignments that instruct the student to research a particular topic on the Internet and write a report ● Programming projects: A series of programming projects that cover a broad range of topics and that can be implemented in any suitable language on any platform ● Lab exercises: A series of projects that involve programming and experimenting with concepts from the book ● Writing assignments: A set of suggested writing assignments, by chapter ● Reading/report assignments: A list of papers in the literature, one for each chapter, that can be assigned for the student to read and then write a short report
See Appendix B for details.
[Page xvi]
This new edition has benefited from review by a number of people, who gave generously of their time and expertise. The following people reviewed all or a large part of the manuscript: Danny Krizanc (Wesleyan University), Breno de Medeiros (Florida State University), Roger H. Brown (Rensselaer at Hartford), Cristina Nita-Rotarul (Purdue University), and Jimmy McGibney (Waterford Institute of Technology).
Thanks also to the many people who provided detailed technical reviews of a single chapter: Richard Outerbridge, Jorge Nakahara, Jeroen van de Graaf, Philip Moseley, Andre Correa, Brian Bowling, James Muir, Andrew Holt, Décio Luiz Gazzoni Filho, Lucas Ferreira, Dr. Kemal Bicakci, Routo Terada, Anton Stiglic, Valery Pryamikov, and Yongge Wang.
Joan Daemen kindly reviewed the chapter on AES. Vincent Rijmen reviewed the material on Whirlpool. And Edward F. Schaefer reviewed the material on simplified AES.
The following people contributed homework problems for the new edition: Joshua Brandon Holden (Rose- Hulman Institute if Technology), Kris Gaj (George Mason University), and James Muir (University of Waterloo).
Sanjay Rao and Ruben Torres of Purdue developed the laboratory exercises that appear in the instructor's supplement. The following people contributed project assignments that appear in the instructor's supplement: Henning Schulzrinne (Columbia University); Cetin Kaya Koc (Oregon State University); and David Balenson (Trusted Information Systems and George Washington University).
Finally, I would like to thank the many people responsible for the publication of the book, all of whom did their usual excellent job. This includes the staff at Prentice Hall, particularly production manager Rose Kernan; my supplements manager Sarah Parker; and my new editor Tracy Dunkelberger. Also, Patricia M. Daly did the copy editing.
With all this assistance, little remains for which I can take full credit. However, I am proud to say that, with no help whatsoever, I selected all of the quotations.
[Page 1]
0.1 Outline of this Book 0.2 Roadmap Subject Matter
Topic Ordering
0.3 Internet and Web Resources Web Sites for This Book
Other Web Sites
USENET Newsgroups
[Page 2]
The art of war teaches us to rely not on the likelihood of the enemy's not coming, but on our own readiness to receive him; not on the chance of his not attacking, but rather on the fact that we have made our position unassailable.
The Art of War , Sun Tzu
This book, with its accompanying Web site, covers a lot of material. Here we give the reader an overview.