- DES.encrypt "0123456789abcdef" "133457799bbcdff1";
----------------------------------------------------------------------
Plaintext   = 0123456789abcdef   (0000000100100011010001010110011110001001101010111100110111101111)
Key         = 133457799bbcdff1   (0001001100110100010101110111100110011011101111001101111111110001)
Applying IP = cc00ccfff0aaf0aa   (1100110000000000110011001111111111110000101010101111000010101010)
Round 1
  Key    =     1b02effc7072   (000110110000001011101111111111000111000001110010)
  E(A)   =     7a15557a1555   (011110100001010101010101011110100001010101010101)
  B      =     6117ba866527   (011000010001011110111010100001100110010100100111)
  C      =         5c82b597   (01011100100000101011010110010111)
  Result = f0aaf0aaef4a6544   (1111000010101010111100001010101011101111010010100110010101000100)
Round 2
  Key    =     79aed9dbc9e5   (011110011010111011011001110110111100100111100101)
  E(A)   =     75ea5430aa09   (011101011110101001010100001100001010101000001001)
  B      =     0c448deb63ec   (000011000100010010001101111010110110001111101100)
  C      =         f8d03aae   (11111000110100000011101010101110)
  Result = ef4a6544cc017709   (1110111101001010011001010100010011001100000000010111011100001001)
Round 3
  Key    =     55fc8a42cf99   (010101011111110010001010010000101100111110011001)
  E(A)   =     e58002bae853   (111001011000000000000010101110101110100001010011)
  B      =     b07c88f827ca   (101100000111110010001000111110000010011111001010)
  C      =         2710e16f   (00100111000100001110000101101111)
  Result = cc017709a25c0bf4   (1100110000000001011101110000100110100010010111000000101111110100)
Round 4
  Key    =     72add6db351d   (011100101010110111010110110110110011010100011101)
  E(A)   =     5042f8057fa9   (010100000100001011111000000001010111111110101001)
  B      =     22ef2ede4ab4   (001000101110111100101110110111100100101010110100)
  C      =         21ed9f3a   (00100001111011011001111100111010)
  Result = a25c0bf477220045   (1010001001011100000010111111010001110111001000100000000001000101)
Round 5
  Key    =     7cec07eb53a8   (011111001110110000000111111010110101001110101000)
  E(A)   =     bae90400020a   (101110101110100100000100000000000000001000001010)
  B      =     c60503eb51a2   (110001100000010100000011111010110101000110100010)
  C      =         50c831eb   (01010000110010000011000111101011)
  Result = 772200458a4fa637   (0111011100100010000000000100010110001010010011111010011000110111)
Round 6
  Key    =     63a53e507b2f   (011000111010010100111110010100000111101100101111)
  E(A)   =     c5425fd0c1af   (110001010100001001011111110100001100000110101111)
  B      =     a6e76180ba80   (101001101110011101100001100000001011101010000000)
  C      =         41f34c3d   (01000001111100110100110000111101)
  Result = 8a4fa637e967cd69   (1000101001001111101001100011011111101001011001111100110101101001)
Round 7
  Key    =     ec84b7f618bc   (111011001000010010110111111101100001100010111100)
  E(A)   =     f52b0fe5ab53   (111101010010101100001111111001011010101101010011)
  B      =     19afb813b3ef   (000110011010111110111000000100111011001111101111)
  C      =         107540ad   (00010000011101010100000010101101)
  Result = e967cd69064aba10   (1110100101100111110011010110100100000110010010101011101000010000)
Round 8
  Key    =     f78a3ac13bfb   (111101111000101000111010110000010011101111111011)
  E(A)   =     00c2555f40a0   (000000001100001001010101010111110100000010100000)
  B      =     f7486f9e7b5b   (111101110100100001101111100111100111101101011011)
  C      =         6c187cae   (01101100000110000111110010101110)
  Result = 064aba10d5694b90   (0000011001001010101110100001000011010101011010010100101110010000)
Round 9
  Key    =     e0dbebede781   (111000001101101111101011111011011110011110000001)
  E(A)   =     6aab52a57ca1   (011010101010101101010010101001010111110010100001)
  B      =     8a70b9489b20   (100010100111000010111001010010001001101100100000)
  C      =         110c5777   (00010001000011000101011101110111)
  Result = d5694b90247cc67a   (1101010101101001010010111001000000100100011111001100011001111010)
Round 10
  Key    =     b1f347ba464f   (101100011111001101000111101110100100011001001111)
  E(A)   =     1083f960c3f4   (000100001000001111111001011000001100001111110100)
  B      =     a170beda85bb   (101000010111000010111110110110101000010110111011)
  C      =         da045275   (11011010000001000101001001110101)
  Result = 247cc67ab7d5d7b2   (0010010001111100110001100111101010110111110101011101011110110010)
Round 11
  Key    =     215fd3ded386   (001000010101111111010011110111101101001110000110)
  E(A)   =     5afeabeafda5   (010110101111111010101011111010101111110110100101)
  B      =     7ba178342e23   (011110111010000101111000001101000010111000100011)
  C      =         7305d101   (01110011000001011101000100000001)
  Result = b7d5d7b2c5783c78   (1011011111010101110101111011001011000101011110000011110001111000)
Round 12
  Key    =     7571f59467e9   (011101010111000111110101100101000110011111101001)
  E(A)   =     60abf01f83f1   (011000001010101111110000000111111000001111110001)
  B      =     15da058be418   (000101011101101000000101100010111110010000011000)
  C      =         7b8b2635   (01111011100010110010011000110101)
  Result = c5783c7875bd1858   (1100010101111000001111000111100001110101101111010001100001011000)
Round 13
  Key    =     97c5d1faba41   (100101111100010111010001111110101011101001000001)
  E(A)   =     3abdfa8f02f0   (001110101011110111111010100011110000001011110000)
  B      =     ad782b75b8b1   (101011010111100000101011011101011011100010110001)
  C      =         9ad18b4f   (10011010110100011000101101001111)
  Result = 75bd185818c3155a   (0111010110111101000110000101100000011000110000110001010101011010)
Round 14
  Key    =     5f43b7f2e73a   (010111110100001110110111111100101110011100111010)
  E(A)   =     0f16068aaaf4   (000011110001011000000110100010101010101011110100)
  B      =     5055b1784dce   (010100000101010110110001011110000100110111001110)
  C      =         64799af1   (01100100011110011001101011110001)
  Result = 18c3155ac28c960d   (0001100011000011000101010101101011000010100011001001011000001101)
Round 15
  Key    =     bf918d3d3f0a   (101111111001000110001101001111010011111100001010)
  E(A)   =     e054594ac05b   (111000000101010001011001010010101100000001011011)
  B      =     5fc5d477ff51   (010111111100010111010100011101111111111101010001)
  C      =         b2e88d3c   (10110010111010001000110100111100)
  Result = c28c960d43423234   (1100001010001100100101100000110101000011010000100011001000110100)
Round 16
  Key    =     cb3d8b0e17f5   (110010110011110110001011000011100001011111110101)
  E(A)   =     206a041a41a8   (001000000110101000000100000110100100000110101000)
  B      =     eb578f14565d   (111010110101011110001111000101000101011001011101)
  C      =         a7832429   (10100111100000110010010000101001)
  Result = 434232340a4cd995   (0100001101000010001100100011010000001010010011001101100110010101)
Flipping L16 <-> R16 = 0a4cd99543423234   (0000101001001100110110011001010101000011010000100011001000110100)
Applying IPinv       = 85e813540f0ab405   (1000010111101000000100110101010000001111000010101011010000000101)
Ciphertext           = 85e813540f0ab405   (1000010111101000000100110101010000001111000010101011010000000101)
----------------------------------------------------------------------