Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-gq7q9 Total loading time: 0 Render date: 2024-07-23T04:30:06.440Z Has data issue: false hasContentIssue false

7 - Stream ciphers

Published online by Cambridge University Press:  05 April 2014

Richard E. Blahut
Affiliation:
University of Illinois, Urbana-Champaign
Get access

Summary

In contrast to a block cipher, which regards messages as segmented into datablocks of a fixed length, a stream cipher has a fixed beginning, but it has no fixed end. A stream cipher encrypts a plaintext datastream of indefinite length, such as a long bitstream, which we can regard as an infinite datastream. An infinite stream of plaintext symbols is fed into an encryptor, using an encryption key of length m bits, and the infinite stream of ciphertext symbols leaves the encryptor. Later, the infinite stream of ciphertext symbols enters the decryptor, which uses the same key of length m bits, and the infinite stream of plaintext symbols leaves the decryptor.

Stream ciphers have a long history, perhaps inspired by the one-time pad, and are in widespread use in many applications. A common form of stream cipher, called an additive stream cipher, converts the m-bit key into a semi-infinite binary stream, called a keystream. The encryptor adds the binary keystream modulo two to the binary datastream, bit by bit, to form the codestream. The decryptor adds the same keystream, modulo two, to the codestream, again bit by bit, and in this way recovers the datastream.

Recall that a binary one-time pad consists of a semi-infinite random sequence of equiprobable bits that is known to both the encryptor and the decryptor. There is no constraint on the random binary sequence used as a one-time pad other than that it be maximally random.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2014

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Stream ciphers
  • Richard E. Blahut, University of Illinois, Urbana-Champaign
  • Book: Cryptography and Secure Communication
  • Online publication: 05 April 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9781139013673.008
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Stream ciphers
  • Richard E. Blahut, University of Illinois, Urbana-Champaign
  • Book: Cryptography and Secure Communication
  • Online publication: 05 April 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9781139013673.008
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Stream ciphers
  • Richard E. Blahut, University of Illinois, Urbana-Champaign
  • Book: Cryptography and Secure Communication
  • Online publication: 05 April 2014
  • Chapter DOI: https://doi.org/10.1017/CBO9781139013673.008
Available formats
×