This chapter explains the basics of cryptography, a technology on which many secure Internet protocols are based. Cryptography is a complex topic and in this chapter we're obviously presenting only a summary. For more complete information on cryptography concepts and algorithms, see the references in Appendix C.