{"id":1387,"date":"2020-04-23T17:32:39","date_gmt":"2020-04-23T12:02:39","guid":{"rendered":"https:\/\/binaryterms.com\/?p=1387"},"modified":"2021-01-18T11:50:23","modified_gmt":"2021-01-18T06:20:23","slug":"block-cipher","status":"publish","type":"post","link":"https:\/\/binaryterms.com\/block-cipher.html","title":{"rendered":"Block Cipher"},"content":{"rendered":"<p><strong>Block cipher<\/strong> is an encryption and decryption method which operates on the <strong>blocks<\/strong> of plain text, instead of operating on each bit of plain text separately. Each block is of equal size and has fixed no of bits. The generated ciphertext has blocks equal to the number of blocks in plaintext and also has the same number of bits in each block as of plain text. Block cipher uses the same key for encryption and decryption.<\/p>\n<p>In this section, we will discuss the definition of block cipher. We will also consider the design principle of a block cipher and the modes of operation of the block cipher.<\/p>\n<h2>Content: Block Cipher in Cryptography<\/h2>\n<ol>\n<li><a href=\"#WhatisBlockCipher?\">What is Block Cipher?<\/a><\/li>\n<li><a href=\"#BlockCipherPrinciples\">Block Cipher Principles<\/a><\/li>\n<li><a href=\"#BlockCipherOperations\">Block Cipher Operations<\/a><\/li>\n<\/ol>\n<p><a name=\"WhatisBlockCipher?\"><\/a><\/p>\n<h3>What is Block Cipher<\/h3>\n<p>Block cipher is an encryption method which divides the plain text into blocks of fixed size. Each block has an equal number of bits. At a time, block cipher operates only on one block of plain text and applies key on it to produce the corresponding block of ciphertext.<\/p>\n<p>While decryption also only one block of ciphertext is operated to produce its corresponding plain text. Data Encryption Standard (DES) is the best example of it.<\/p>\n<p>DES divides the plain text into the number of blocks, each of 64-bit. DES operates on one block of plain text at a time. Key of 56-bit is applied to each block of plain text to produce its corresponding ciphertext of 64-bit.<\/p>\n<p>During decryption also only one block of ciphertext is operated at a time to produce its corresponding block plain text. In DES the decryption algorithm is the same as the encryption one.<\/p>\n<p>On an all the block cipher operates on a block of bits at a time instead of one bit a time. Operating bit by bit is a very time-consuming process and as block cipher is a computer-based cryptographic algorithm it needs to be fast. That\u2019s why operating one block of bits at a time makes it faster as compared to a stream cipher.<\/p>\n<p>But there was a limitation in the block cipher as it would generate the same ciphertext for the repeating text pattern in plain text. However, this limitation was resolved by implementing <strong>chaining<\/strong> in the block cipher.<br \/>\n<a name=\"BlockCipherPrinciples\"><\/a><\/p>\n<h3>Block Cipher Principles<\/h3>\n<p>A block cipher is designed by considering its three critical aspects which are listed as below:<\/p>\n<ol>\n<li>Number of Rounds<\/li>\n<li>Design of Function F<\/li>\n<li>Key Schedule Algorithm<\/li>\n<\/ol>\n<p><strong>1. Number of Rounds<\/strong><\/p>\n<p>The number of rounds judges the strength of the block cipher algorithm. It is considered that more is the number of rounds, difficult is for cryptanalysis to break the algorithm.<\/p>\n<p>It is considered that even if the function F is relatively weak, the number of rounds would make the algorithm tough to break.<\/p>\n<p><strong>2. Design of Function F<\/strong><\/p>\n<p>The function F of the block cipher must be designed such that it must be impossible for any cryptanalysis to unscramble the substitution. The criterion that strengthens the function F is it non-linearity.<\/p>\n<p>More the function F is nonlinear, more it would be difficult to crack it. Well, while designing the function F it should be confirmed that it has a good avalanche property which states that a change in one-bit of input must reflect the change in many bits of output.<\/p>\n<p>The Function F should be designed such that it possesses a bit independence criterion which states that the output bits must change independently if there is any change in the input bit.<\/p>\n<p><strong>3. Key Schedule Algorithm<\/strong><\/p>\n<p>It is suggested that the key schedule should confirm the strict avalanche effect and bit independence criterion.<br \/>\n<a name=\"BlockCipherOperations\"><\/a><\/p>\n<h3>Block Cipher Modes of Operation<\/h3>\n<p>There are five important block cipher modes of operation defined by NIST. These five modes of operation enhance the algorithm so that it can be adapted by a wide range of applications which uses block cipher for encryption.<\/p>\n<ol>\n<li>Electronic Code Book Mode<\/li>\n<li>Cipher Block Chaining Mode<\/li>\n<li>Cipher Feedback Mode<\/li>\n<li>Output Feedback Mode<\/li>\n<li>Counter Mode<\/li>\n<\/ol>\n<p><strong>1. Electronic Feedback Mode<\/strong><\/p>\n<p>This is considered to be the easiest block cipher mode of operation. In electronic codebook mode (ECB) the plain text is divided into the blocks, each of 64-bit. Each block is encrypted one at a time to produce the cipher block. The same key is used to encrypt each block.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1388\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg\" alt=\"ECB Encryption Block cipher\" width=\"591\" height=\"291\" srcset=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg 591w, https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher-300x148.jpg 300w\" sizes=\"auto, (max-width: 591px) 100vw, 591px\" \/><\/p>\n<p>When the receiver receives the message i.e. ciphertext. This ciphertext is again divided into blocks, each of 64-bit and each block is decrypted independently one at a time to obtain the corresponding plain text block. Here also the same key is used to decrypt each block which was used to encrypt each block.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1389\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Decryption-Block-cipher.jpg\" alt=\"ECB Decryption Block cipher\" width=\"592\" height=\"287\" srcset=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Decryption-Block-cipher.jpg 592w, https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Decryption-Block-cipher-300x145.jpg 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/p>\n<p>As the same key used to encrypt each block of plain text there arises an issue that for a repeating plain text block it would generate the same cipher and will ease the cryptanalysis to crack the algorithm. Hence, ECB is considered for encrypting the small messages which have a rare possibility of repeating text.<\/p>\n<p><strong>2. Cipher Block Chaining Mode<\/strong><\/p>\n<p>To overcome the limitation of ECB i.e. the repeating block in plain text produces the same ciphertext, a new technique was required which is Cipher Block Chaining (CBC) Mode. CBC confirms that even if the plain text has repeating blocks its encryption won\u2019t produce same cipher block.<\/p>\n<p>To achieve totally different cipher blocks for two same plain text blocks <strong>chaining<\/strong> has been added to the block cipher. For this, the result obtained from the encryption of the first plain text block is fed to the encryption of the next plaintext box.<\/p>\n<p>In this way, each ciphertext block obtained is dependent on its corresponding current plain text block input and all the previous plain text blocks. But during the encryption of first plain text block, no previous plain text block is available so a random block of text is generated called <strong>Initialization vector<\/strong>.<\/p>\n<p>Now let\u2019s discuss the encryption steps of CBC<\/p>\n<p><em>Step 1:<\/em> The initialization vector and first plain text block are XORed and the result of XOR is then encrypted using the key to obtain the first ciphertext block.<\/p>\n<p><em>Step 2:<\/em> The first ciphertext block is fed to the encryption of the second plain text block. For the encryption of second plain text block, first ciphertext block and second plain text block is XORed and the result of XOR is encrypted using the same key in step 1 to obtain the second ciphertext block.<\/p>\n<p>Similarly, the result of encryption of second plain text block i.e. the second ciphertext block is fed to the encryption of third plain text block to obtain third ciphertext block. And the process continues to obtain all the ciphertext blocks.<\/p>\n<p>You can see the steps of CBC in the figure below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1390\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CBC-Encryption-Block-cipher.jpg\" alt=\"CBC Encryption Block cipher\" width=\"583\" height=\"379\" srcset=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CBC-Encryption-Block-cipher.jpg 583w, https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CBC-Encryption-Block-cipher-300x195.jpg 300w\" sizes=\"auto, (max-width: 583px) 100vw, 583px\" \/><\/p>\n<p><strong>Decryption steps of CBC:<\/strong><\/p>\n<p><strong><em>Step 1:<\/em><\/strong> The first ciphertext block is decrypted using the same key that was used for encrypting all plain text blocks. The result of decryption is then XORed with the initialization vector (IV) to obtain the first plain text block.<\/p>\n<p><strong><em>Step 2:<\/em><\/strong> The second ciphertext block is decrypted and the result of decryption is XORed with the first ciphertext block to obtain the second plain text block. And the process continues till all plain text blocks are retrieved.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1391\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CBC-Decryption-Block-cipher.jpg\" alt=\"CBC Decryption Block cipher\" width=\"549\" height=\"320\" srcset=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CBC-Decryption-Block-cipher.jpg 549w, https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CBC-Decryption-Block-cipher-300x175.jpg 300w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/p>\n<p>There was a limitation in CBC that if we have two identical messages and if we use the same IV for both the identical message it would generate the same ciphertext block.<\/p>\n<p><strong>3. Cipher Feedback Mode<\/strong><\/p>\n<p>All applications may not be designed to operate on the blocks of data, some may be <strong>character or bit-oriented<\/strong>. Cipher feedback mode is used to operate on smaller units than blocks.<\/p>\n<p>Let us discuss the encryption steps in cipher feedback mode:<\/p>\n<p><strong><em>Step 1:<\/em><\/strong> Here also we use initialization vector, IV is kept in the shift register and it is encrypted using the key.<\/p>\n<p><strong><em>Step 2:<\/em> <\/strong>The left most s bits of the encrypted IV is then XORed with the first fragment of the plain text of s bits. It produces the first ciphertext C1 of s bits.<\/p>\n<p><strong><em>Step 3:<\/em><\/strong> Now the shift register containing initialization vector performs left shift by s bits and s bits C1 replaces the rightmost s bits of the initialization vector.<\/p>\n<p>Then again, the encryption is performed on IV and the leftmost s bit of encrypted IV is XORed with the second fragment of plain text to obtain s bit ciphertext C2.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1392\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CFC-Encryption-Block-cipher.jpg\" alt=\"CFC Encryption Block cipher\" width=\"600\" height=\"362\" srcset=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CFC-Encryption-Block-cipher.jpg 600w, https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CFC-Encryption-Block-cipher-300x181.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>The process continues to obtain all ciphertext fragments.<\/p>\n<p><strong>Decryption Steps:<\/strong><\/p>\n<p><strong><em>Step 1:<\/em><\/strong> The initialization vector is placed in the shift register. It is encrypted using the same key.<\/p>\n<p>Keep a note that even in the <strong>decryption process<\/strong> the <strong>encryption<\/strong> algorithm is implemented instead of the decryption algorithm.<\/p>\n<p>Then from the encrypted IV s bits are XORed with the s bits ciphertext C1 to retrieve s bits plain text P1.<\/p>\n<p><strong><em>Step 2:<\/em><\/strong> The IV in the shift register is left-shifted by s bits and the s bits C1 replaces the rightmost s bits of IV.<\/p>\n<p>The process continues until all plain text fragments are retrieved.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1393\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CFC-Decryption-cipher.jpg\" alt=\"CFC Decryption cipher\" width=\"566\" height=\"428\" srcset=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CFC-Decryption-cipher.jpg 566w, https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/CFC-Decryption-cipher-300x227.jpg 300w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/p>\n<p>It has a limitation that if there occur a bit error in any ciphertext C<sub>i <\/sub>it would affect all the subsequent ciphertext units as C<sub>i <\/sub>is fed to the encryption of next P<sub>i+1 <\/sub>to obtain C<sub>i+1<\/sub>. In this way, bit error would propagate.<\/p>\n<p><strong>4. Output Feedback Mode<\/strong><\/p>\n<p>The output feedback (OFB) mode is almost similar to the CFB. The difference between CFB and OFB is that unlike CFB, in OFB the encrypted IV is fed to the encryption of next plain text block. The other difference is that CFB operates on a stream of bits whereas OFB operates on the block of bits.<\/p>\n<p>Steps for encryption:<\/p>\n<p><strong><em>Step 1:<\/em> <\/strong>The initialization vector is encrypted using the key.<\/p>\n<p><strong><em>Step 2:<\/em> <\/strong>The encrypted IV is then XORed with the plain text block to obtain the ciphertext block.<\/p>\n<p>The encrypted IV is fed to the encryption of next plain text block as you can see in the image below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1394\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/OFB-Encryption-Block-cipher.jpg\" alt=\"OFB Encryption Block cipher\" width=\"547\" height=\"334\" srcset=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/OFB-Encryption-Block-cipher.jpg 547w, https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/OFB-Encryption-Block-cipher-300x183.jpg 300w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/p>\n<p>Steps for decryption:<\/p>\n<p><strong><em>Step 1:<\/em><\/strong> The initialization vector is encrypted using the same key used for encrypting all plain text blocks.<\/p>\n<p>Note: In the <strong>decryption process<\/strong> also the <strong>encryption<\/strong> function is implemented.<\/p>\n<p><strong><em>Step2:<\/em> <\/strong>The encrypted IV is then XORed with the ciphertext block to retrieve the plain text block.<\/p>\n<p>The encrypted IV is also fed to the decryption process of the next ciphertext block.<\/p>\n<p>The process continues until all the plain text blocks are retrieved.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1395\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/OFB-Decryption-Block-cipher.jpg\" alt=\"OFB Decryption Block cipher\" width=\"548\" height=\"337\" srcset=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/OFB-Decryption-Block-cipher.jpg 548w, https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/OFB-Decryption-Block-cipher-300x184.jpg 300w\" sizes=\"auto, (max-width: 548px) 100vw, 548px\" \/><\/p>\n<p>The advantage of OFB is that it protects the propagation of bit error means the if there occurs a bit error in C1 it will only affect the retrieval of P1 and won\u2019t affect the retrieval of subsequent plain text blocks.<\/p>\n<p><strong>5. Counter Mode<\/strong><\/p>\n<p>It is similar to OFB but there is no feedback mechanism in counter mode. Nothing is being fed from the previous step to the next step instead it uses a sequence of number which is termed as a <strong>counter<\/strong> which is input to the encryption function along with the key. After a plain text block is encrypted the counter value increments by 1.<\/p>\n<p>Steps of encryption:<\/p>\n<p><strong><em>Step1:<\/em><\/strong> The counter value is encrypted using a key.<\/p>\n<p><strong><em>Step 2:<\/em> <\/strong>The encrypted counter value is XORed with the plain text block to obtain a ciphertext block.<\/p>\n<p>To encrypt the next subsequent plain text block the counter value is incremented by 1 and step 1 and 2 are repeated to obtain the corresponding ciphertext.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1397\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/Counter-Mode-Encryption.jpg\" alt=\"Counter Mode Encryption\" width=\"600\" height=\"272\" srcset=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/Counter-Mode-Encryption.jpg 600w, https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/Counter-Mode-Encryption-300x136.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>The process continues until all plain text block is encrypted.<\/p>\n<p>Steps for decryption:<\/p>\n<p><strong><em>Step1:<\/em> <\/strong>The counter value is encrypted using a key.<\/p>\n<p><strong>Note:<\/strong> Encryption function is used in the decryption process. The same counter values are used for decryption as used while encryption.<\/p>\n<p><strong><em>Step 2:<\/em> <\/strong>The encrypted counter value is XORed with the ciphertext block to obtain a plain text block.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1398\" src=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/Counter-Mode-Decryption.jpg\" alt=\"Counter Mode Decryption\" width=\"600\" height=\"273\" srcset=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/Counter-Mode-Decryption.jpg 600w, https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/Counter-Mode-Decryption-300x137.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>To decrypt the next subsequent ciphertext block the counter value is incremented by 1 and step 1 and 2 are repeated to obtain corresponding plain text.<\/p>\n<p>The process continues until all ciphertext block is decrypted.<\/p>\n<p>So, this is all about Block cipher, its designing principles and its mode of operation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Block cipher is an encryption and decryption method which operates on the blocks of plain text, instead of operating on each bit of plain text separately. Each block is of equal size and has fixed no of bits. The generated ciphertext has blocks equal to the number of blocks in plaintext and also has the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[9],"tags":[],"class_list":{"0":"post-1387","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-security","7":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Block Cipher? Definition, Principles &amp; Operations - Binary Terms<\/title>\n<meta name=\"description\" content=\"Block cipher is an encryption method which operates on the blocks of plain text. It divides the plain text into a fixed size of blocks and performs encryption on each block one at a time to obtain the ciphertext.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/binaryterms.com\/block-cipher.html\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Block Cipher? Definition, Principles &amp; Operations - Binary Terms\" \/>\n<meta property=\"og:description\" content=\"Block cipher is an encryption method which operates on the blocks of plain text. It divides the plain text into a fixed size of blocks and performs encryption on each block one at a time to obtain the ciphertext.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/binaryterms.com\/block-cipher.html\" \/>\n<meta property=\"og:site_name\" content=\"Binary Terms\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-23T12:02:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-18T06:20:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg\" \/>\n<meta name=\"author\" content=\"Neha T\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Neha T\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/binaryterms.com\/block-cipher.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/binaryterms.com\/block-cipher.html\"},\"author\":{\"name\":\"Neha T\",\"@id\":\"https:\/\/binaryterms.com\/#\/schema\/person\/e495f1d57f5c0a4c521cc3dba95661fe\"},\"headline\":\"Block Cipher\",\"datePublished\":\"2020-04-23T12:02:39+00:00\",\"dateModified\":\"2021-01-18T06:20:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/binaryterms.com\/block-cipher.html\"},\"wordCount\":1973,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/binaryterms.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/binaryterms.com\/block-cipher.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg\",\"articleSection\":[\"Security\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/binaryterms.com\/block-cipher.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/binaryterms.com\/block-cipher.html\",\"url\":\"https:\/\/binaryterms.com\/block-cipher.html\",\"name\":\"What is Block Cipher? Definition, Principles & Operations - Binary Terms\",\"isPartOf\":{\"@id\":\"https:\/\/binaryterms.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/binaryterms.com\/block-cipher.html#primaryimage\"},\"image\":{\"@id\":\"https:\/\/binaryterms.com\/block-cipher.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg\",\"datePublished\":\"2020-04-23T12:02:39+00:00\",\"dateModified\":\"2021-01-18T06:20:23+00:00\",\"description\":\"Block cipher is an encryption method which operates on the blocks of plain text. It divides the plain text into a fixed size of blocks and performs encryption on each block one at a time to obtain the ciphertext.\",\"breadcrumb\":{\"@id\":\"https:\/\/binaryterms.com\/block-cipher.html#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/binaryterms.com\/block-cipher.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/binaryterms.com\/block-cipher.html#primaryimage\",\"url\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg\",\"contentUrl\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg\",\"width\":591,\"height\":291,\"caption\":\"ECB Encryption Block cipher\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/binaryterms.com\/block-cipher.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/binaryterms.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Block Cipher\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/binaryterms.com\/#website\",\"url\":\"https:\/\/binaryterms.com\/\",\"name\":\"Binary Terms\",\"description\":\"The Computer Science &amp; IT Guide\",\"publisher\":{\"@id\":\"https:\/\/binaryterms.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/binaryterms.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/binaryterms.com\/#organization\",\"name\":\"Binary Terms\",\"url\":\"https:\/\/binaryterms.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/binaryterms.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/binary-terms-logo1.png\",\"contentUrl\":\"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/binary-terms-logo1.png\",\"width\":400,\"height\":63,\"caption\":\"Binary Terms\"},\"image\":{\"@id\":\"https:\/\/binaryterms.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/binaryterms.com\/#\/schema\/person\/e495f1d57f5c0a4c521cc3dba95661fe\",\"name\":\"Neha T\",\"url\":\"https:\/\/binaryterms.com\/author\/author\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Block Cipher? Definition, Principles & Operations - Binary Terms","description":"Block cipher is an encryption method which operates on the blocks of plain text. It divides the plain text into a fixed size of blocks and performs encryption on each block one at a time to obtain the ciphertext.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/binaryterms.com\/block-cipher.html","og_locale":"en_GB","og_type":"article","og_title":"What is Block Cipher? Definition, Principles & Operations - Binary Terms","og_description":"Block cipher is an encryption method which operates on the blocks of plain text. It divides the plain text into a fixed size of blocks and performs encryption on each block one at a time to obtain the ciphertext.","og_url":"https:\/\/binaryterms.com\/block-cipher.html","og_site_name":"Binary Terms","article_published_time":"2020-04-23T12:02:39+00:00","article_modified_time":"2021-01-18T06:20:23+00:00","og_image":[{"url":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg","type":"","width":"","height":""}],"author":"Neha T","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Neha T","Estimated reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/binaryterms.com\/block-cipher.html#article","isPartOf":{"@id":"https:\/\/binaryterms.com\/block-cipher.html"},"author":{"name":"Neha T","@id":"https:\/\/binaryterms.com\/#\/schema\/person\/e495f1d57f5c0a4c521cc3dba95661fe"},"headline":"Block Cipher","datePublished":"2020-04-23T12:02:39+00:00","dateModified":"2021-01-18T06:20:23+00:00","mainEntityOfPage":{"@id":"https:\/\/binaryterms.com\/block-cipher.html"},"wordCount":1973,"commentCount":2,"publisher":{"@id":"https:\/\/binaryterms.com\/#organization"},"image":{"@id":"https:\/\/binaryterms.com\/block-cipher.html#primaryimage"},"thumbnailUrl":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg","articleSection":["Security"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/binaryterms.com\/block-cipher.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/binaryterms.com\/block-cipher.html","url":"https:\/\/binaryterms.com\/block-cipher.html","name":"What is Block Cipher? Definition, Principles & Operations - Binary Terms","isPartOf":{"@id":"https:\/\/binaryterms.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/binaryterms.com\/block-cipher.html#primaryimage"},"image":{"@id":"https:\/\/binaryterms.com\/block-cipher.html#primaryimage"},"thumbnailUrl":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg","datePublished":"2020-04-23T12:02:39+00:00","dateModified":"2021-01-18T06:20:23+00:00","description":"Block cipher is an encryption method which operates on the blocks of plain text. It divides the plain text into a fixed size of blocks and performs encryption on each block one at a time to obtain the ciphertext.","breadcrumb":{"@id":"https:\/\/binaryterms.com\/block-cipher.html#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/binaryterms.com\/block-cipher.html"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/binaryterms.com\/block-cipher.html#primaryimage","url":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg","contentUrl":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/04\/ECB-Encryption-Block-cipher.jpg","width":591,"height":291,"caption":"ECB Encryption Block cipher"},{"@type":"BreadcrumbList","@id":"https:\/\/binaryterms.com\/block-cipher.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/binaryterms.com\/"},{"@type":"ListItem","position":2,"name":"Block Cipher"}]},{"@type":"WebSite","@id":"https:\/\/binaryterms.com\/#website","url":"https:\/\/binaryterms.com\/","name":"Binary Terms","description":"The Computer Science &amp; IT Guide","publisher":{"@id":"https:\/\/binaryterms.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/binaryterms.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/binaryterms.com\/#organization","name":"Binary Terms","url":"https:\/\/binaryterms.com\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/binaryterms.com\/#\/schema\/logo\/image\/","url":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/binary-terms-logo1.png","contentUrl":"https:\/\/binaryterms.com\/wp-content\/uploads\/2020\/05\/binary-terms-logo1.png","width":400,"height":63,"caption":"Binary Terms"},"image":{"@id":"https:\/\/binaryterms.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/binaryterms.com\/#\/schema\/person\/e495f1d57f5c0a4c521cc3dba95661fe","name":"Neha T","url":"https:\/\/binaryterms.com\/author\/author"}]}},"_links":{"self":[{"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/posts\/1387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/comments?post=1387"}],"version-history":[{"count":2,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/posts\/1387\/revisions"}],"predecessor-version":[{"id":2216,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/posts\/1387\/revisions\/2216"}],"wp:attachment":[{"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/media?parent=1387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/categories?post=1387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/binaryterms.com\/wp-json\/wp\/v2\/tags?post=1387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}