# DES-CBC
# From NBS SP 500-20 and NIST SP 800-20


# CBC-DES.Encrypt and CBC-DES.Decrypt 
Klen = 8
Len = 8
Key = 10316E028C8F3B4A
Plaintext = 0000000000000000
Ciphertext = 82DCBAFBDEAB6602

# SP 500-20 Appendix B: The DES Test SeT
# SP 800-20 Table A.1
Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 95F8A5E5DD31D900
Ciphertext = 8000000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = DD7F121CA5015619
Ciphertext = 4000000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 2E8653104F3834EA
Ciphertext = 2000000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 4BD388FF6CD81D4F
Ciphertext = 1000000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 20B9E767B2FB1456
Ciphertext = 0800000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 55579380D77138EF
Ciphertext = 0400000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 6CC5DEFAAF04512F
Ciphertext = 0200000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 0D9F279BA5D87260
Ciphertext = 0100000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = D9031B0271BD5A0A
Ciphertext = 0080000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 424250B37C3DD951
Ciphertext = 0040000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = B8061B7ECD9A21E5
Ciphertext = 0020000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = F15D0F286B65BD28
Ciphertext = 0010000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = ADD0CC8D6E5DEBA1
Ciphertext = 0008000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = E6D5F82752AD63D1
Ciphertext = 0004000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = ECBFE3BD3F591A5E
Ciphertext = 0002000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = F356834379D165CD
Ciphertext = 0001000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 2B9F982F20037FA9
Ciphertext = 0000800000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 889DE068A16F0BE6
Ciphertext = 0000400000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = E19E275D846A1298
Ciphertext = 0000200000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 329A8ED523D71AEC
Ciphertext = 0000100000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = E7FCE22557D23C97
Ciphertext = 0000080000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 12A9F5817FF2D65D
Ciphertext = 0000040000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = A484C3AD38DC9C19
Ciphertext = 0000020000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = FBE00A8A1EF8AD72
Ciphertext = 0000010000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 750D079407521363
Ciphertext = 0000008000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 64FEED9C724C2FAF
Ciphertext = 0000004000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = F02B263B328E2B60
Ciphertext = 0000002000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 9D64555A9A10B852
Ciphertext = 0000001000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = D106FF0BED5255D7
Ciphertext = 0000000800000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = E1652C6B138C64A5
Ciphertext = 0000000400000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = E428581186EC8F46
Ciphertext = 0000000200000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = AEB5F5EDE22D1A36
Ciphertext = 0000000100000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = E943D7568AEC0C5C
Ciphertext = 0000000080000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = DF98C8276F54B04B
Ciphertext = 0000000040000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = B160E4680F6C696F
Ciphertext = 0000000020000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = FA0752B07D9C4AB8
Ciphertext = 0000000010000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = CA3A2B036DBC8502
Ciphertext = 0000000008000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 5E0905517BB59BCF
Ciphertext = 0000000004000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 814EEB3B91D90726
Ciphertext = 0000000002000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 4D49DB1532919C9F
Ciphertext = 0000000001000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 25EB5FC3F8CF0621
Ciphertext = 0000000000800000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = AB6A20C0620D1C6F
Ciphertext = 0000000000400000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 79E90DBC98F92CCA
Ciphertext = 0000000000200000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 866ECEDD8072BB0E
Ciphertext = 0000000000100000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 8B54536F2F3E64A8
Ciphertext = 0000000000080000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = EA51D3975595B86B
Ciphertext = 0000000000040000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = CAFFC6AC4542DE31
Ciphertext = 0000000000020000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 8DD45A2DDF90796C
Ciphertext = 0000000000010000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 1029D55E880EC2D0
Ciphertext = 0000000000008000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 5D86CB23639DBEA9
Ciphertext = 0000000000004000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 1D1CA853AE7C0C5F
Ciphertext = 0000000000002000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = CE332329248F3228
Ciphertext = 0000000000001000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 8405D1ABE24FB942
Ciphertext = 0000000000000800

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = E643D78090CA4207
Ciphertext = 0000000000000400

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 48221B9937748A23
Ciphertext = 0000000000000200

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = DD7C0BBD61FAFD54
Ciphertext = 0000000000000100

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 2FBC291A570DB5C4
Ciphertext = 0000000000000080

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = E07C30D7E4E26E12
Ciphertext = 0000000000000040

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 0953E2258E8E90A1
Ciphertext = 0000000000000020

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 5B711BC4CEEBF2EE
Ciphertext = 0000000000000010

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = CC083F1E6D9E85F6
Ciphertext = 0000000000000008

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = D2FD8867D50D2DFE
Ciphertext = 0000000000000004

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 06E7EA22CE92708F
Ciphertext = 0000000000000002

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 166B40B44ABA4BD6
Ciphertext = 0000000000000001

# 19 Key data pairs which exercise every S-box entry.
Klen = 8
Len = 8
Key = 7CA110454A1A6E57
Plaintext = 01A1D6D039776742
Ciphertext = 690F5B0D9A26939B

Klen = 8
Len = 8
Key = 0131D9619DC1376E
Plaintext = 5CD54CA83DEF57DA
Ciphertext = 7A389D10354BD271

Klen = 8
Len = 8
Key = 07A1133E4A0B2686
Plaintext = 0248D43806F67172
Ciphertext = 868EBB51CAB4599A

Klen = 8
Len = 8
Key = 3849674C2602319E
Plaintext = 51454B582DDF440A
Ciphertext = 7178876E01F19B2A

Klen = 8
Len = 8
Key = 04B915BA43FEB5B6
Plaintext = 42FD443059577FA2
Ciphertext = AF37FB421F8C4095

Klen = 8
Len = 8
Key = 0113B970FD34F2CE
Plaintext = 059B5E0851CF143A
Ciphertext = 86A560F10EC6D85B

Klen = 8
Len = 8
Key = 0170F175468FB5E6
Plaintext = 0756D8E0774761D2
Ciphertext = 0CD3DA020021DC09

Klen = 8
Len = 8
Key = 43297FAD38E373FE
Plaintext = 762514B829BF486A
Ciphertext = EA676B2CB7DB2B7A

Klen = 8
Len = 8
Key = 07A7137045DA2A16
Plaintext = 3BDD119049372802
Ciphertext = DFD64A815CAF1A0F

Klen = 8
Len = 8
Key = 04689104C2FD3B2F
Plaintext = 26955F6835AF609A
Ciphertext = 5C513C9C4886C088

Klen = 8
Len = 8
Key = 37D06BB516CB7546
Plaintext = 164D5E404F275232
Ciphertext = 0A2AEEAE3FF4AB77

Klen = 8
Len = 8
Key = 1F08260D1AC2465E
Plaintext = 6B056E18759F5CCA
Ciphertext = EF1BF03E5DFA575A

Klen = 8
Len = 8
Key = 584023641ABA6176
Plaintext = 004BD6EF09176062
Ciphertext = 88BF0DB6D70DEE56

Klen = 8
Len = 8
Key = 025816164629B007
Plaintext = 480D39006EE762F2
Ciphertext = A1F9915541020B56

Klen = 8
Len = 8
Key = 49793EBC79B3258F
Plaintext = 437540C8698F3CFA
Ciphertext = 6FBF1CAFCFFD0556

Klen = 8
Len = 8
Key = 4FB05E1515AB73A7
Plaintext = 072D43A077075292
Ciphertext = 2F22E49BAB7CA1AC

Klen = 8
Len = 8
Key = 49E95D6D4CA229BF
Plaintext = 02FE55778117F12A
Ciphertext = 5A6B612CC26CCE4A

Klen = 8
Len = 8
Key = 018310DC409B26D6
Plaintext = 1D9D5C5018F728C2
Ciphertext = 5F4C038ED12B2E41

Klen = 8
Len = 8
Key = 1C587F1C13924FEF
Plaintext = 305532286D6F295A
Ciphertext = 63FAC0D034D9F793

# NIST 800-17
Klen = 8
Len = 8
Key = 10316E028C8F3B4A
Plaintext = 0000000000000000
Ciphertext = 82DCBAFBDEAB6602

# SP 800-20 Table A.2
Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 0000000000000000
Ciphertext = 8000000000000000
