Skip to main content

Stream Ciphers and Block Ciphers


A stream cipher is one that encrypts a digital data stream one bit or one byte at a time. Examples of classical stream ciphers are the autokeyed Vigenère cipher and the Vernam cipher. In the ideal case, a one-time pad version of the Vernam cipher would be used in which the keystream (k) is as long as the plaintext bit stream (p.). If the cryptographic keystream is random, then this cipher is unbreakable by any means other than acquiring the keystream. However, the keystream must be provided to both users in advance via some free and secure channel. This introduces insurmountable logistical problems if the intended data traffic is very large.

Accordingly, for practical reasons, the bit-stream generator must be applied as an algorithmic procedure, so that the cryptographic bit stream can be produced by both users. In this approach (Figure la), the bit-stream gen- erator is a key-controlled algorithm and must produce a bit stream that is cryp- tographically strong. That is, it must be computationally impractical to predict future portions of the bit stream based on previous portions of the bit stream. The two users need only share the generating key, and each can produce the keystream.

A block cipher is one in which a block of plaintext is treated as a whole and len used to produce a ciphertext block of equal length. Typically, 64 or 128 bits is used for a block size. As with a stream cipher, the two users share a symmetric encryp- tion key (Figure 1b). Far more effort has gone into analyzing block ciphers. In general, they seem applicable to a broader range of applications than stream ciphers. The wide majority of network-based symmetric cryptographic applications make use of block ciphers. Accordingly, the concern in this chapter, will primarily focus on block ciphers.

Comments

Popular Post

What is COVID-19 ?

COVID-19 is a disease caused due to the infection of novel coronavirus. The first case of COVID-19 disease was founded at Wuhan, China in December 2019. It also named as severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). COVID-19 is the most widely spread disease ever in the world. In most cases it infects the respiratory system that causes fever, dry cough, and shortness of breath. Previous : What is the difference between coronavirus and COVID-19 ?

EDI and Business

Organisation that Uses EDI     1) Wal-Mart : An EDI link between Wal-Mart and one of its suppliers, Seminole Manufacturing Co. cut the delivery time of Seminole slacks by 50%. This resulted in a 31% sales increase of these slacks in the first 9 months after the link was established.   2) General Motors : General Motors have integrated EDI Electronic funds transfer at 30% of its assembly plants. Shipping receipts are sent electronically from the GM plant to an Electronic Data System (EDS is subsidiary of GM) computer center where they are matched against electronic invoices and purchase orders.   Suppliers group the shipping receipts, and one payment is made. This single payment may represent dozens of different shipments to different plants. These payments are also performed electronically via Electronic Funds Transfers.   3) J C Penney : Sales of Stafford suits jumped 59% after JC Penney linked up with their supplier Lanier Clothes. EDI allowed Penney to quickl...

EDI Maturity Model

The development of EDI within an organisation or a trade sector goes through a number of stages. Saxena and Wagenaar suggest a three stage EDI maturity model as a part of a three-way analysis of EDI development in organisations, trade sectors and nations.  Figure 2.20 shows the concept of EDI maturity with a six-stage maturity model, and links it to the opportunities for competitive advantage. The stages of EDI development as represented in the model are:  Stage 1:Discovery : The first stage in EDI development is the discovery stage. Discovery can be by an organisation choosing to adopt EDI to gain competitive advantage or to solve an administrative problem.  Stage 2: Introductory : This stage requires investment hardware and software but, atleast significant, will be the time commitment in establishing the parameters of the electronic trading relationship. This stage, on its own, does not result in any cost saving or efficiency gain. there are direct costs in computer ...