📄 testdata.des
字号:
#
# Test Data for the Data Encryption Standard (see testdes.c)
#
# From National Bureau of Standards Special Publication 500-20, Sep-80.
#
# Column 1: Key
# Column 2: PlainText
# Column 3: CipherText
#
# If column 2 begins with a P, then encrypt plaintext to produce ciphertext
# If column 2 begins with a S, then decrypt ciphertext to produce plaintext
#
# Lines beginning with # are comments
# Lines beginning with " are output by the test program when in verbose mode
#
" Test 1: Initial Permutation IP
K0101010101010101 P95f8a5e5dd31d900 S8000000000000000
K0101010101010101 Pdd7f121ca5015619 S4000000000000000
K0101010101010101 P2e8653104f3834ea S2000000000000000
K0101010101010101 P4bd388ff6cd81d4f S1000000000000000
K0101010101010101 P20b9e767b2fb1456 S0800000000000000
K0101010101010101 P55579380d77138ef S0400000000000000
K0101010101010101 P6cc5defaaf04512f S0200000000000000
K0101010101010101 P0d9f279ba5d87260 S0100000000000000
K0101010101010101 Pd9031b0271bd5a0a S0080000000000000
K0101010101010101 P424250b37c3dd951 S0040000000000000
K0101010101010101 Pb8061b7ecd9a21e5 S0020000000000000
K0101010101010101 Pf15d0f286b65bd28 S0010000000000000
K0101010101010101 Padd0cc8d6e5deba1 S0008000000000000
K0101010101010101 Pe6d5f82752ad63d1 S0004000000000000
K0101010101010101 Pecbfe3bd3f591a5e S0002000000000000
K0101010101010101 Pf356834379d165cd S0001000000000000
K0101010101010101 P2b9f982f20037fa9 S0000800000000000
K0101010101010101 P889de068a16f0be6 S0000400000000000
K0101010101010101 Pe19e275d846a1298 S0000200000000000
K0101010101010101 P329a8ed523d71aec S0000100000000000
K0101010101010101 Pe7fce22557d23c97 S0000080000000000
K0101010101010101 P12a9f5817ff2d65d S0000040000000000
K0101010101010101 Pa484c3ad38dc9c19 S0000020000000000
K0101010101010101 Pfbe00a8a1ef8ad72 S0000010000000000
K0101010101010101 P750d079407521363 S0000008000000000
K0101010101010101 P64feed9c724c2faf S0000004000000000
K0101010101010101 Pf02b263b328e2b60 S0000002000000000
K0101010101010101 P9d64555a9a10b852 S0000001000000000
K0101010101010101 Pd106ff0bed5255d7 S0000000800000000
K0101010101010101 Pe1652c6b138c64a5 S0000000400000000
K0101010101010101 Pe428581186ec8f46 S0000000200000000
K0101010101010101 Paeb5f5ede22d1a36 S0000000100000000
K0101010101010101 Pe943d7568aec0c5c S0000000080000000
K0101010101010101 Pdf98c8276f54b04b S0000000040000000
K0101010101010101 Pb160e4680f6c696f S0000000020000000
K0101010101010101 Pfa0752b07d9c4ab8 S0000000010000000
K0101010101010101 Pca3a2b036dbc8502 S0000000008000000
K0101010101010101 P5e0905517bb59bcf S0000000004000000
K0101010101010101 P814eeb3b91d90726 S0000000002000000
K0101010101010101 P4d49db1532919c9f S0000000001000000
K0101010101010101 P25eb5fc3f8cf0621 S0000000000800000
K0101010101010101 Pab6a20c0620d1c6f S0000000000400000
K0101010101010101 P79e90dbc98f92cca S0000000000200000
K0101010101010101 P866ecedd8072bb0e S0000000000100000
K0101010101010101 P8b54536f2f3e64a8 S0000000000080000
K0101010101010101 Pea51d3975595b86b S0000000000040000
K0101010101010101 Pcaffc6ac4542de31 S0000000000020000
K0101010101010101 P8dd45a2ddf90796c S0000000000010000
K0101010101010101 P1029d55e880ec2d0 S0000000000008000
K0101010101010101 P5d86cb23639dbea9 S0000000000004000
K0101010101010101 P1d1ca853ae7c0c5f S0000000000002000
K0101010101010101 Pce332329248f3228 S0000000000001000
K0101010101010101 P8405d1abe24fb942 S0000000000000800
K0101010101010101 Pe643d78090ca4207 S0000000000000400
K0101010101010101 P48221b9937748a23 S0000000000000200
K0101010101010101 Pdd7c0bbd61fafd54 S0000000000000100
K0101010101010101 P2fbc291a570db5c4 S0000000000000080
K0101010101010101 Pe07c30d7e4e26e12 S0000000000000040
K0101010101010101 P0953e2258e8e90a1 S0000000000000020
K0101010101010101 P5b711bc4ceebf2ee S0000000000000010
K0101010101010101 Pcc083f1e6d9e85f6 S0000000000000008
K0101010101010101 Pd2fd8867d50d2dfe S0000000000000004
K0101010101010101 P06e7ea22ce92708f S0000000000000002
K0101010101010101 P166b40b44aba4bd6 S0000000000000001
" Test 2: IP inverse
K0101010101010101 P8000000000000000 S95f8a5e5dd31d900
K0101010101010101 P4000000000000000 Sdd7f121ca5015619
K0101010101010101 P2000000000000000 S2e8653104f3834ea
K0101010101010101 P1000000000000000 S4bd388ff6cd81d4f
K0101010101010101 P0800000000000000 S20b9e767b2fb1456
K0101010101010101 P0400000000000000 S55579380d77138ef
K0101010101010101 P0200000000000000 S6cc5defaaf04512f
K0101010101010101 P0100000000000000 S0d9f279ba5d87260
K0101010101010101 P0080000000000000 Sd9031b0271bd5a0a
K0101010101010101 P0040000000000000 S424250b37c3dd951
K0101010101010101 P0020000000000000 Sb8061b7ecd9a21e5
K0101010101010101 P0010000000000000 Sf15d0f286b65bd28
K0101010101010101 P0008000000000000 Sadd0cc8d6e5deba1
K0101010101010101 P0004000000000000 Se6d5f82752ad63d1
K0101010101010101 P0002000000000000 Secbfe3bd3f591a5e
K0101010101010101 P0001000000000000 Sf356834379d165cd
K0101010101010101 P0000800000000000 S2b9f982f20037fa9
K0101010101010101 P0000400000000000 S889de068a16f0be6
K0101010101010101 P0000200000000000 Se19e275d846a1298
K0101010101010101 P0000100000000000 S329a8ed523d71aec
K0101010101010101 P0000080000000000 Se7fce22557d23c97
K0101010101010101 P0000040000000000 S12a9f5817ff2d65d
K0101010101010101 P0000020000000000 Sa484c3ad38dc9c19
K0101010101010101 P0000010000000000 Sfbe00a8a1ef8ad72
K0101010101010101 P0000008000000000 S750d079407521363
K0101010101010101 P0000004000000000 S64feed9c724c2faf
K0101010101010101 P0000002000000000 Sf02b263b328e2b60
K0101010101010101 P0000001000000000 S9d64555a9a10b852
K0101010101010101 P0000000800000000 Sd106ff0bed5255d7
K0101010101010101 P0000000400000000 Se1652c6b138c64a5
K0101010101010101 P0000000200000000 Se428581186ec8f46
K0101010101010101 P0000000100000000 Saeb5f5ede22d1a36
K0101010101010101 P0000000080000000 Se943d7568aec0c5c
K0101010101010101 P0000000040000000 Sdf98c8276f54b04b
K0101010101010101 P0000000020000000 Sb160e4680f6c696f
K0101010101010101 P0000000010000000 Sfa0752b07d9c4ab8
K0101010101010101 P0000000008000000 Sca3a2b036dbc8502
K0101010101010101 P0000000004000000 S5e0905517bb59bcf
K0101010101010101 P0000000002000000 S814eeb3b91d90726
K0101010101010101 P0000000001000000 S4d49db1532919c9f
K0101010101010101 P0000000000800000 S25eb5fc3f8cf0621
K0101010101010101 P0000000000400000 Sab6a20c0620d1c6f
K0101010101010101 P0000000000200000 S79e90dbc98f92cca
K0101010101010101 P0000000000100000 S866ecedd8072bb0e
K0101010101010101 P0000000000080000 S8b54536f2f3e64a8
K0101010101010101 P0000000000040000 Sea51d3975595b86b
K0101010101010101 P0000000000020000 Scaffc6ac4542de31
K0101010101010101 P0000000000010000 S8dd45a2ddf90796c
K0101010101010101 P0000000000008000 S1029d55e880ec2d0
K0101010101010101 P0000000000004000 S5d86cb23639dbea9
K0101010101010101 P0000000000002000 S1d1ca853ae7c0c5f
K0101010101010101 P0000000000001000 Sce332329248f3228
K0101010101010101 P0000000000000800 S8405d1abe24fb942
K0101010101010101 P0000000000000400 Se643d78090ca4207
K0101010101010101 P0000000000000200 S48221b9937748a23
K0101010101010101 P0000000000000100 Sdd7c0bbd61fafd54
K0101010101010101 P0000000000000080 S2fbc291a570db5c4
K0101010101010101 P0000000000000040 Se07c30d7e4e26e12
K0101010101010101 P0000000000000020 S0953e2258e8e90a1
K0101010101010101 P0000000000000010 S5b711bc4ceebf2ee
K0101010101010101 P0000000000000008 Scc083f1e6d9e85f6
K0101010101010101 P0000000000000004 Sd2fd8867d50d2dfe
K0101010101010101 P0000000000000002 S06e7ea22ce92708f
K0101010101010101 P0000000000000001 S166b40b44aba4bd6
" Test 3: Permutation Matrix P
K1046913489980131 P0000000000000000 S88d55e54f54c97b4
K1007103489988020 P0000000000000000 S0c0cc00c83ea48fd
K10071034c8980120 P0000000000000000 S83bc8ef3a6570183
K1046103489988020 P0000000000000000 Sdf725dcad94ea2e9
K1086911519190101 P0000000000000000 Se652b53b550be8b0
K1086911519580101 P0000000000000000 Saf527120c485cbb0
K5107b01519580101 P0000000000000000 S0f04ce393db926d5
K1007b01519190101 P0000000000000000 Sc9f00ffc74079067
K3107915498080101 P0000000000000000 S7cfd82a593252b4e
K3107919498080101 P0000000000000000 Scb49a2f9e91363e3
K10079115b9080140 P0000000000000000 S00b588be70d23f56
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -