DES3.decrypt
void decrypt(const(ubyte)[] input, ubyte[] output)Decrypts a single 8-byte block using EDE mode.
The decryption operation is: P = D_K1(E_K2(D_K3(C)))
- Step 1: Decrypt with K3
- Step 2: Encrypt with K2
- Step 3: Decrypt with K1
Parameters
input | Input buffer (at least 8 bytes). |
output | Output buffer (at least 8 bytes). |
Throws
CryptoException if buffers are too short.