An undergraduate-level introduction to number theory, with the emphasis on fully explained proofs and examples. Exercises, together with their solutions are integrated into the text. In addition, the book discusses applications of number theory to cryptography in a very readable fashion, with any additional mathematics required for the book (in this case some simple group theory and analysis) in two appendices. A book on number theory would also be incomplete ...