日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

密码学电子书_密码学中的电子密码书(ECB)

發(fā)布時(shí)間:2025/3/11 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 密码学电子书_密码学中的电子密码书(ECB) 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

密碼學(xué)電子書

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)是一種密碼術(shù),是一種針對(duì)分組密碼的操作模式,其特征是,每個(gè)可行的明文或原始文本塊均具有對(duì)應(yīng)的密文值特征,反之亦然。 換句話說,相同或主要的明文或原始值將始終產(chǎn)生或使用相同的密文值。 電子卷書(ECB)用于將明文的卷或字符分開或分為幾個(gè)數(shù)據(jù)塊,然后分別加密每個(gè)或每個(gè)數(shù)據(jù)塊,然后將其分為其他塊。 否則,電子密碼書具有為密碼術(shù)中的每個(gè)塊類型支持或促進(jìn)單獨(dú)的加密密鑰的能力。

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.

但是,此電子書不是一個(gè)很好的系統(tǒng)或過程,不能使用很小或很小的塊大小(例如,純文本中少于40位)以及密碼學(xué)中相同或適當(dāng)?shù)募用苣J健?這是由于某些特定的單詞和短語可能經(jīng)?;蚨啻沃貜?fù)使用,從而使相同的重復(fù)或重復(fù)的密文分塊出現(xiàn)或混合在一起,從而為進(jìn)行純文本或原始文本模式的密碼本攻擊打下了基礎(chǔ)。對(duì)此很明顯。 但是,如果將隨機(jī)填充比特添加到加密中的每個(gè)塊,則安全性或隱私性可能會(huì)更好。
另一方面,64位或更大或更大的塊應(yīng)包含足夠或更多的獨(dú)特特征(熵),以使密碼本攻擊不太可能在此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.

以糾錯(cuò)的形式,密文塊中的任何位錯(cuò)誤或缺陷都只會(huì)影響該明文塊的解密。 這是Chaining依賴性永遠(yuǎn)不會(huì)成為問題,因?yàn)槊芪膲K的重新排序只會(huì)重新預(yù)訂相應(yīng)的純文本或原始文本塊,而不會(huì)影響密碼術(shù)中的解密。



Image source: https://www.geeksforgeeks.org/block-cipher-modes-of-operation

圖片來源:https://www.geeksforgeeks.org/block-cipher-modes-of-operation

使用歐洲央行的優(yōu)勢(shì) (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.

    分組密碼的簡(jiǎn)單方法是這種ECB操作模式。

使用ECB的缺點(diǎn) (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.

    由于明文或原始文本與密文之間存在直接或直接的關(guān)系,因此在密碼學(xué)中易于進(jìn)行密碼分析。

(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.

除了使用密碼或消息生成加密密鑰來完成對(duì)密鑰空間的加密以外,我們還有用于處理純文本或原始文本的算法問題。 如果這是ECB,則對(duì)于相同的純文本或原始文本,我們將重復(fù)密碼塊。

As I take "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" and encrypt with as the 3-DES and a cryptography key of "bill12345" we get,

當(dāng)我將“ eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee”作為3-DES和“ bill12345”的加密密鑰進(jìn)行加密時(shí),我們得到:

1122900B30BF1183 1122900B30BF1183 1122900B30BF11831 122900B30BF1183 1122900B30BF1183 1122900B30BF1183 7591F6A1D8B4FC8A

Here, 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”的值在密碼學(xué)中始終使用相同的密文編碼。 由于3-DES具有64位消息塊,因此8個(gè)“ e”值將以加密方式填充每個(gè)塊。

[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的密文。

安全挑戰(zhàn) (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模式對(duì)于加密而言非常簡(jiǎn)單。 并行加密/解密數(shù)據(jù)或字符塊是可能的或可行的,因?yàn)樵诿魑幕蛟嘉谋镜膲K之間沒有依賴性。 如果密碼術(shù)失敗或加密/解密失敗,則錯(cuò)誤僅在一個(gè)塊內(nèi)延伸,而不會(huì)對(duì)此造成影響。

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.

    如果明文或原始文本的塊與密文的相應(yīng)塊相同或相似,那么它們也將相同或相似。 否則,如果密文中的某些塊相同或相似,則明文或原始文本的相應(yīng)或特定塊也相同或相似。 密碼學(xué)的密碼分析員只能解密或加密這些密碼學(xué)塊中的一個(gè),以查找所有密碼學(xué)塊的內(nèi)容。

  • 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.

    在另一種情況下,塊是獨(dú)立的或自由的,在不知道密碼密鑰的情況下替換或更改密文的某些塊本身成為可能或可行的。 惡意因素可以更改消息中塊的一部分,而在同一加密密鑰上的上一條消息期間會(huì)截獲這些塊。

  • 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).

    實(shí)際上,在密文中丟棄或插入至少一位的情況下,將對(duì)塊的位和邊界進(jìn)行移位或替換,這將導(dǎo)致對(duì)密碼學(xué)中所有后續(xù)塊密文進(jìn)行錯(cuò)誤或不正確的解碼或解密(可以固定或固定)。通過實(shí)現(xiàn)密碼術(shù)中密文塊邊界的控制或工作方法來實(shí)現(xiàn)混合)。

翻譯自: https://www.includehelp.com/cryptography/electronic-code-book-ecb.aspx

密碼學(xué)電子書

總結(jié)

以上是生活随笔為你收集整理的密码学电子书_密码学中的电子密码书(ECB)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。