The cipher object will perform the actual DES-CBC operations.
这个cipher对象将执行实际的DES - CBC操作。
For instance, in 64-bit DES-CBC encryption, the data would be divided into 8-byte blocks.
例如,在64位DES- CBC加密中,数据会分为8字节的块。
Because I'm only going to support DES-CBC in the Kerberos client, I will only discuss the secret key generation process used by DES-CBC, which is as follows.
因为我只打算在这个Kerberos客户机中支持DES -CBC,所以我将只讨论DES - CBC所使用的密钥的生成过程,如下所示。
The only point where the coding details really require explanation is Step 9, where I actually performed the DES-CBC encryption.
编码细节中真正需要解释的一点是第9步,在这里我实际执行了DES - CBC加密。
I will now use the temporary secret key to encrypt the original padded byte array from Step 3 using the DES-CBC algorithm.
现在我要使用这个临时密钥以des -cbc算法加密第3步中得到的附加后的字节数组。
The temporary secret key serves both as the value of the key and as the value of the initial vector for DES-CBC encryption.
这个临时密钥同时作为密钥的值和DES - CBC加密的初始矢量的值。
The temporary secret key serves both as the value of the key and as the value of the initial vector for DES-CBC encryption.
这个临时密钥同时作为密钥的值和DES - CBC加密的初始矢量的值。
应用推荐