16-round SM4-256 white-box password implementation method
A white-box cipher and cipher algorithm technology, which is applied to the encryption algorithm with 128-bit/256-bit plaintext grouping/key grouping, 16-round SM4-256 white-box cipher algorithm scheme and system field, and can solve the 128-bit initial key The length round key generation process has not been improved, the security has not been improved, and the security and reliability are not enough, so as to improve the difficulty of key cracking, increase the length of the key, and take up less space.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The scheme proposed by the present invention will be described in further detail below in conjunction with the accompanying drawings, but the scope of the present invention is not limited in any way.
[0023] The scheme proposed by the present invention is improved based on the national standard SM4 encryption algorithm. The improved SM4 cipher algorithm supports 256-bit key length, 128-bit and 256-bit plaintext length, and outputs ciphertext after 16 iterations of initial plaintext and 1 reverse transformation R.
[0024] Take the plaintext length of 256 bits as an example to describe the encryption process in detail.
[0025] Step one, such as figure 2 As shown, in the process of the improved SM4 cryptographic algorithm new mode encryption iterative operation, each round of the round function produces 2 intermediate variables, namely
[0026]
[0027]
[0028] in, is the bit XOR symbol, X i (i=0, 1, ..., 39) are all 32-bit values, which are intermediate va...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


