This is the unique book on cross-fertilisations between stream ciphers and number theory. It systematically and comprehensively covers known connections between the two areas that are available only in research papers. Some parts of this book consist of new research results that are not available elsewhere. In addition to exercises, over thirty research problems are presented in this book. In this revised edition almost every chapter was updated, and some chapters were completely rewritten. It is useful as a textbook for a graduate course on the subject, as well as a reference book for researchers in related fields.* Unique book on interactions of stream ciphers and number theory. * Research monograph with many results not available elsewhere. * A revised edition with the most recent advances in this subject. * Over thirty research problems for stimulating interactions between the two areas. * Written by leading researchers in stream ciphers and number theory.