ABSTRACT

In this chapter, we discuss algorithms (crucial for computer science) and modular arithmetic (part of number theory, which is often a course on its own). Our primary examples of algorithms are ciphers, namely the shift cipher, the atbash cipher, and the Vigene`re cipher.