Chapter 10. Stream ciphers