密码学电子书_密码学中的电子密码书(ECB)
密碼學電子書
This Electronic Code Book (ECB) is cryptography as a mode of operation for a block cipher, with the characters the main things that every feasible block of plaintext or an original text has a corresponding characteristic of ciphertext value and vice versa. In other words, the same or main plaintext or original value will always result or work in the same ciphertext value. Electronic Code Book(ECB) is used when a volume or character of plaintext is separated or divided into several blocks of data, each or every of which is then encrypted independently divides it of other blocks. Otherwise, Electronic Code Book has the ability or capacity to support or promote a separate encrypted key for each block type in cryptography.
該電子密碼書(ECB)是一種密碼術,是一種針對分組密碼的操作模式,其特征是,每個可行的明文或原始文本塊均具有對應的密文值特征,反之亦然。 換句話說,相同或主要的明文或原始值將始終產生或使用相同的密文值。 電子卷書(ECB)用于將明文的卷或字符分開或分為幾個數據塊,然后分別加密每個或每個數據塊,然后將其分為其他塊。 否則,電子密碼書具有為密碼術中的每個塊類型支持或促進單獨的加密密鑰的能力。
However, this Electronic Code Book is not a good system or process to use with small or little block sizes (for example, less than 40 bits in a plain text) and identical or properly encryption modes in cryptography. This is due to some particular words and phrases that may be reused again often enough or more so that the same repetitive or repeated part-blocks of ciphertext can emerge or mixed, laying the groundwork for a codebook attack where the plaintext or original text patterns are fairly obvious for this. However, security or privacy may be better if random pad bits are added to each block in cryptography.
On the other hand, 64-bit or larger or greater blocks should contain enough or more unique characteristics (entropy) to make a codebook attack unlikely to succeed in this ECB.
但是,此電子書不是一個很好的系統或過程,不能使用很小或很小的塊大小(例如,純文本中少于40位)以及密碼學中相同或適當的加密模式。 這是由于某些特定的單詞和短語可能經常或多次重復使用,從而使相同的重復或重復的密文分塊出現或混合在一起,從而為進行純文本或原始文本模式的密碼本攻擊打下了基礎。對此很明顯。 但是,如果將隨機填充比特添加到加密中的每個塊,則安全性或隱私性可能會更好。
另一方面,64位或更大或更大的塊應包含足夠或更多的獨特特征(熵),以使密碼本攻擊不太可能在此ECB中成功。
In the form of error correction, any bit errors or defects in a ciphertext block affect decryption of that block only of plaintext. This is the Chaining dependency is never an issue in that reordering of the ciphertext blocks will only rebook the corresponding plaintext or original text blocks, but never affect decryption in cryptography.
以糾錯的形式,密文塊中的任何位錯誤或缺陷都只會影響該明文塊的解密。 這是Chaining依賴性永遠不會成為問題,因為密文塊的重新排序只會重新預訂相應的純文本或原始文本塊,而不會影響密碼術中的解密。
Image source: https://www.geeksforgeeks.org/block-cipher-modes-of-operation
圖片來源:https://www.geeksforgeeks.org/block-cipher-modes-of-operation
使用歐洲央行的優勢 (Advantages of using ECB)
The parallel encryption of particular blocks of bits is possible or feasible, thus it is a faster way of encryption for this.
特定位塊的并行加密是可行或可行的,因此這是一種更快的加密方式。
The simple way of a block cipher is this ECB mode of operation.
分組密碼的簡單方法是這種ECB操作模式。
使用ECB的缺點 (Disadvantages of using ECB)
This is prone to cryptanalysis in cryptography since there is a direct or straight relationship between plaintext or original text and ciphertext.
由于明文或原始文本與密文之間存在直接或直接的關系,因此在密碼學中易于進行密碼分析。
例 (Example)
Different from apart from using a password or message to generate an encryption key, which completes encrypted the keyspace, we have the problem of the algorithm used to process the plain text or original text. If this is ECB we have repeating cipher blocks for the same plain text or original text.
除了使用密碼或消息生成加密密鑰來完成對密鑰空間的加密以外,我們還有用于處理純文本或原始文本的算法問題。 如果這是ECB,則對于相同的純文本或原始文本,我們將重復密碼塊。
As I take "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" and encrypt with as the 3-DES and a cryptography key of "bill12345" we get,
當我將“ eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee”作為3-DES和“ bill12345”的加密密鑰進行加密時,我們得到:
1122900B30BF1183 1122900B30BF1183 1122900B30BF11831 122900B30BF1183 1122900B30BF1183 1122900B30BF1183 7591F6A1D8B4FC8AHere, we can see that the word "e...e" values are always coded with the same ciphertext in cryptography. As 3-DES has message blocks of 64-bits, then 8 'e' values will fill each block in the way of cryptography.
在這里,我們可以看到單詞“ e ... e”的值在密碼學中始終使用相同的密文編碼。 由于3-DES具有64位消息塊,因此8個“ e”值將以加密方式填充每個塊。
[eeeeeeee] [eeeeeeee] [eeeeeeeee][eeeeeeee] [eeeeeeee] [eeeeeeee][eeeeee PADDING]Here, we can say that the word "eeeeeeee" maps to the cipher text of 1122900B30BF1183 as cipher text.
在這里,我們可以說單詞“ eeeeeeee”作為密文映射到1122900B30BF1183的密文。
安全挑戰 (Security Challenges)
The ECB mode is rather simple in realization for the cryptography. It is possible or feasible to encrypt/decrypt the blocks of data or characters in parallel as there is no dependence between blocks of the plaintext or original text. In case of failure or failure of the encryption/decryption in the cryptography, the mistake extends only within one block and doesn't influence others for this.
ECB模式對于加密而言非常簡單。 并行加密/解密數據或字符塊是可能的或可行的,因為在明文或原始文本的塊之間沒有依賴性。 如果密碼術失敗或加密/解密失敗,則錯誤僅在一個塊內延伸,而不會對此造成影響。
Limitations or Restriction of ECB encryption scheme,
ECB加密方案的限制或限制,
If blocks of the clear or original text are identical or similar to the corresponding blocks of the ciphertext will be identical or similar too. Otherwise if in the ciphertext some blocks are identical or similar, the corresponding or particular blocks of the clear or original text are identical or similar too. The cryptanalyst of cryptography can decipher or encrypt only one of these blocks of cryptography to find the contents of all of them.
如果明文或原始文本的塊與密文的相應塊相同或相似,那么它們也將相同或相似。 否則,如果密文中的某些塊相同或相似,則明文或原始文本的相應或特定塊也相同或相似。 密碼學的密碼分析員只能解密或加密這些密碼學塊中的一個,以查找所有密碼學塊的內容。
In another way case the blocks are independent or free itself becomes possible or feasible to replace or change some blocks of the ciphertext without knowledge of a cryptography key. The malefactor can change the part of blocks in the message with blocks intercepted during the previous message on the same cryptography key.
在另一種情況下,塊是獨立的或自由的,在不知道密碼密鑰的情況下替換或更改密文的某些塊本身成為可能或可行的。 惡意因素可以更改消息中塊的一部分,而在同一加密密鑰上的上一條消息期間會截獲這些塊。
In fact case of drop or insertion at least of one bit into ciphertext there will be a shift or replaced of bits and borders of blocks that will lead to wrong or incorrect decoding or decrypt of all subsequent blocks ciphertext in cryptography (it can be fixed or mixed by realization of control or work methods of borders of ciphertext blocks in the cryptography).
實際上,在密文中丟棄或插入至少一位的情況下,將對塊的位和邊界進行移位或替換,這將導致對密碼學中所有后續塊密文進行錯誤或不正確的解碼或解密(可以固定或固定)。通過實現密碼術中密文塊邊界的控制或工作方法來實現混合)。
翻譯自: https://www.includehelp.com/cryptography/electronic-code-book-ecb.aspx
密碼學電子書
總結
以上是生活随笔為你收集整理的密码学电子书_密码学中的电子密码书(ECB)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: as_hash ruby_Hash.me
- 下一篇: NullReferenceExcepti