1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
|
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
|
# Auto generated from "rc4-80.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest
catch {tls::provider legacy}
tcltest::testConstraint rc4_80 [expr {[lsearch -nocase [tls::ciphers] rc4-80] > -1}]
tcltest::test Stream_rc4_80-1.1 {Encrypt rc4-80 offset 0} \
tcltest::test Symetric_Stream_rc4_80-1.1 {Encrypt rc4-80 offset 0} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [binary decode hex 00000000000000000000000000000000]] 0 15]} \
-match exact -result ede3b04643e586cc907dc21851709902
tcltest::test Stream_rc4_80-1.2 {Decrypt rc4-80 offset 0} \
tcltest::test Symetric_Stream_rc4_80-1.2 {Decrypt rc4-80 offset 0} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [binary decode hex 00000000000000000000000000000000]]] 0 15]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.3 {Encrypt rc4-80 offset 16} \
tcltest::test Symetric_Stream_rc4_80-1.3 {Encrypt rc4-80 offset 16} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 2]] 16 31]} \
-match exact -result 03516ba78f413beb223aa5d4d2df6711
tcltest::test Stream_rc4_80-1.4 {Decrypt rc4-80 offset 16} \
tcltest::test Symetric_Stream_rc4_80-1.4 {Decrypt rc4-80 offset 16} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 2]]] 16 31]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.5 {Encrypt rc4-80 offset 240} \
tcltest::test Symetric_Stream_rc4_80-1.5 {Encrypt rc4-80 offset 240} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 16]] 240 255]} \
-match exact -result 3cfd6cb58ee0fdde640176ad0000044d
tcltest::test Stream_rc4_80-1.6 {Decrypt rc4-80 offset 240} \
tcltest::test Symetric_Stream_rc4_80-1.6 {Decrypt rc4-80 offset 240} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 16]]] 240 255]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.7 {Encrypt rc4-80 offset 256} \
tcltest::test Symetric_Stream_rc4_80-1.7 {Encrypt rc4-80 offset 256} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 17]] 256 271]} \
-match exact -result 48532b21fb6079c9114c0ffd9c04a1ad
tcltest::test Stream_rc4_80-1.8 {Decrypt rc4-80 offset 256} \
tcltest::test Symetric_Stream_rc4_80-1.8 {Decrypt rc4-80 offset 256} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 17]]] 256 271]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.9 {Encrypt rc4-80 offset 496} \
tcltest::test Symetric_Stream_rc4_80-1.9 {Encrypt rc4-80 offset 496} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 32]] 496 511]} \
-match exact -result 3e8cea98017109979084b1ef92f99d86
tcltest::test Stream_rc4_80-1.10 {Decrypt rc4-80 offset 496} \
tcltest::test Symetric_Stream_rc4_80-1.10 {Decrypt rc4-80 offset 496} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 32]]] 496 511]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.11 {Encrypt rc4-80 offset 512} \
tcltest::test Symetric_Stream_rc4_80-1.11 {Encrypt rc4-80 offset 512} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 33]] 512 527]} \
-match exact -result e20fb49bdb337ee48b8d8dc0f4afeffe
tcltest::test Stream_rc4_80-1.12 {Decrypt rc4-80 offset 512} \
tcltest::test Symetric_Stream_rc4_80-1.12 {Decrypt rc4-80 offset 512} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 33]]] 512 527]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.13 {Encrypt rc4-80 offset 752} \
tcltest::test Symetric_Stream_rc4_80-1.13 {Encrypt rc4-80 offset 752} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 48]] 752 767]} \
-match exact -result 5c2521eacd7966f15e056544bea0d315
tcltest::test Stream_rc4_80-1.14 {Decrypt rc4-80 offset 752} \
tcltest::test Symetric_Stream_rc4_80-1.14 {Decrypt rc4-80 offset 752} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 48]]] 752 767]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.15 {Encrypt rc4-80 offset 768} \
tcltest::test Symetric_Stream_rc4_80-1.15 {Encrypt rc4-80 offset 768} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 49]] 768 783]} \
-match exact -result e067a7031931a246a6c3875d2f678acb
tcltest::test Stream_rc4_80-1.16 {Decrypt rc4-80 offset 768} \
tcltest::test Symetric_Stream_rc4_80-1.16 {Decrypt rc4-80 offset 768} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 49]]] 768 783]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.17 {Encrypt rc4-80 offset 1008} \
tcltest::test Symetric_Stream_rc4_80-1.17 {Encrypt rc4-80 offset 1008} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 64]] 1008 1023]} \
-match exact -result a64f70af88ae56b6f87581c0e23e6b08
tcltest::test Stream_rc4_80-1.18 {Decrypt rc4-80 offset 1008} \
tcltest::test Symetric_Stream_rc4_80-1.18 {Decrypt rc4-80 offset 1008} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 64]]] 1008 1023]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.19 {Encrypt rc4-80 offset 1024} \
tcltest::test Symetric_Stream_rc4_80-1.19 {Encrypt rc4-80 offset 1024} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 65]] 1024 1039]} \
-match exact -result f449031de312814ec6f319291f4a0516
tcltest::test Stream_rc4_80-1.20 {Decrypt rc4-80 offset 1024} \
tcltest::test Symetric_Stream_rc4_80-1.20 {Decrypt rc4-80 offset 1024} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 65]]] 1024 1039]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.21 {Encrypt rc4-80 offset 1520} \
tcltest::test Symetric_Stream_rc4_80-1.21 {Encrypt rc4-80 offset 1520} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 96]] 1520 1535]} \
-match exact -result bdae85924b3cb1d0a2e33a30c6d79599
tcltest::test Stream_rc4_80-1.22 {Decrypt rc4-80 offset 1520} \
tcltest::test Symetric_Stream_rc4_80-1.22 {Decrypt rc4-80 offset 1520} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 96]]] 1520 1535]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.23 {Encrypt rc4-80 offset 1536} \
tcltest::test Symetric_Stream_rc4_80-1.23 {Encrypt rc4-80 offset 1536} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 97]] 1536 1551]} \
-match exact -result 8a0feddbac865a09bcd127fb562ed60a
tcltest::test Stream_rc4_80-1.24 {Decrypt rc4-80 offset 1536} \
tcltest::test Symetric_Stream_rc4_80-1.24 {Decrypt rc4-80 offset 1536} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 97]]] 1536 1551]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.25 {Encrypt rc4-80 offset 2032} \
tcltest::test Symetric_Stream_rc4_80-1.25 {Encrypt rc4-80 offset 2032} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 128]] 2032 2047]} \
-match exact -result b55a0a5b51a12a8be34899c3e047511a
tcltest::test Stream_rc4_80-1.26 {Decrypt rc4-80 offset 2032} \
tcltest::test Symetric_Stream_rc4_80-1.26 {Decrypt rc4-80 offset 2032} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 128]]] 2032 2047]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.27 {Encrypt rc4-80 offset 2048} \
tcltest::test Symetric_Stream_rc4_80-1.27 {Encrypt rc4-80 offset 2048} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 129]] 2048 2063]} \
-match exact -result d9a09cea3ce75fe39698070317a71339
tcltest::test Stream_rc4_80-1.28 {Decrypt rc4-80 offset 2048} \
tcltest::test Symetric_Stream_rc4_80-1.28 {Decrypt rc4-80 offset 2048} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 129]]] 2048 2063]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.29 {Encrypt rc4-80 offset 3056} \
tcltest::test Symetric_Stream_rc4_80-1.29 {Encrypt rc4-80 offset 3056} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 192]] 3056 3071]} \
-match exact -result 552225ed1177f44584ac8cfa6c4eb5fc
tcltest::test Stream_rc4_80-1.30 {Decrypt rc4-80 offset 3056} \
tcltest::test Symetric_Stream_rc4_80-1.30 {Decrypt rc4-80 offset 3056} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 192]]] 3056 3071]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.31 {Encrypt rc4-80 offset 3072} \
tcltest::test Symetric_Stream_rc4_80-1.31 {Encrypt rc4-80 offset 3072} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 193]] 3072 3087]} \
-match exact -result 7e82cbabfc95381b080998442129c2f8
tcltest::test Stream_rc4_80-1.32 {Decrypt rc4-80 offset 3072} \
tcltest::test Symetric_Stream_rc4_80-1.32 {Decrypt rc4-80 offset 3072} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 193]]] 3072 3087]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.33 {Encrypt rc4-80 offset 4080} \
tcltest::test Symetric_Stream_rc4_80-1.33 {Encrypt rc4-80 offset 4080} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 256]] 4080 4095]} \
-match exact -result 1f135ed14ce60a91369d2322bef25e3c
tcltest::test Stream_rc4_80-1.34 {Decrypt rc4-80 offset 4080} \
tcltest::test Symetric_Stream_rc4_80-1.34 {Decrypt rc4-80 offset 4080} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 256]]] 4080 4095]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.35 {Encrypt rc4-80 offset 4096} \
tcltest::test Symetric_Stream_rc4_80-1.35 {Encrypt rc4-80 offset 4096} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 257]] 4096 4111]} \
-match exact -result 08b6be45124a43e2eb77953f84dc8553
tcltest::test Stream_rc4_80-1.36 {Decrypt rc4-80 offset 4096} \
tcltest::test Symetric_Stream_rc4_80-1.36 {Decrypt rc4-80 offset 4096} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 0102030405060708090a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 257]]] 4096 4111]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.37 {Encrypt rc4-80 offset 0} \
tcltest::test Symetric_Stream_rc4_80-1.37 {Encrypt rc4-80 offset 0} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [binary decode hex 00000000000000000000000000000000]] 0 15]} \
-match exact -result ab65c26eddb287600db2fda10d1e605c
tcltest::test Stream_rc4_80-1.38 {Decrypt rc4-80 offset 0} \
tcltest::test Symetric_Stream_rc4_80-1.38 {Decrypt rc4-80 offset 0} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [binary decode hex 00000000000000000000000000000000]]] 0 15]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.39 {Encrypt rc4-80 offset 16} \
tcltest::test Symetric_Stream_rc4_80-1.39 {Encrypt rc4-80 offset 16} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 2]] 16 31]} \
-match exact -result bb759010c29658f2c72d93a2d16d2930
tcltest::test Stream_rc4_80-1.40 {Decrypt rc4-80 offset 16} \
tcltest::test Symetric_Stream_rc4_80-1.40 {Decrypt rc4-80 offset 16} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 2]]] 16 31]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.41 {Encrypt rc4-80 offset 240} \
tcltest::test Symetric_Stream_rc4_80-1.41 {Encrypt rc4-80 offset 240} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 16]] 240 255]} \
-match exact -result b901e8036ed1c383cd3c4c4dd0a6ab05
tcltest::test Stream_rc4_80-1.42 {Decrypt rc4-80 offset 240} \
tcltest::test Symetric_Stream_rc4_80-1.42 {Decrypt rc4-80 offset 240} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 16]]] 240 255]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.43 {Encrypt rc4-80 offset 256} \
tcltest::test Symetric_Stream_rc4_80-1.43 {Encrypt rc4-80 offset 256} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 17]] 256 271]} \
-match exact -result 3d25ce4922924c55f064943353d78a6c
tcltest::test Stream_rc4_80-1.44 {Decrypt rc4-80 offset 256} \
tcltest::test Symetric_Stream_rc4_80-1.44 {Decrypt rc4-80 offset 256} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 17]]] 256 271]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.45 {Encrypt rc4-80 offset 496} \
tcltest::test Symetric_Stream_rc4_80-1.45 {Encrypt rc4-80 offset 496} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 32]] 496 511]} \
-match exact -result 12c1aa44bbf87e75e611f69b2c38f49b
tcltest::test Stream_rc4_80-1.46 {Decrypt rc4-80 offset 496} \
tcltest::test Symetric_Stream_rc4_80-1.46 {Decrypt rc4-80 offset 496} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 32]]] 496 511]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.47 {Encrypt rc4-80 offset 512} \
tcltest::test Symetric_Stream_rc4_80-1.47 {Encrypt rc4-80 offset 512} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 33]] 512 527]} \
-match exact -result 28f2b3434b65c09877470044c6ea170d
tcltest::test Stream_rc4_80-1.48 {Decrypt rc4-80 offset 512} \
tcltest::test Symetric_Stream_rc4_80-1.48 {Decrypt rc4-80 offset 512} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 33]]] 512 527]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.49 {Encrypt rc4-80 offset 752} \
tcltest::test Symetric_Stream_rc4_80-1.49 {Encrypt rc4-80 offset 752} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 48]] 752 767]} \
-match exact -result bd9ef822de5288196134cf8af7839304
tcltest::test Stream_rc4_80-1.50 {Decrypt rc4-80 offset 752} \
tcltest::test Symetric_Stream_rc4_80-1.50 {Decrypt rc4-80 offset 752} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 48]]] 752 767]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.51 {Encrypt rc4-80 offset 768} \
tcltest::test Symetric_Stream_rc4_80-1.51 {Encrypt rc4-80 offset 768} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 49]] 768 783]} \
-match exact -result 67559c23f052158470a296f725735a32
tcltest::test Stream_rc4_80-1.52 {Decrypt rc4-80 offset 768} \
tcltest::test Symetric_Stream_rc4_80-1.52 {Decrypt rc4-80 offset 768} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 49]]] 768 783]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.53 {Encrypt rc4-80 offset 1008} \
tcltest::test Symetric_Stream_rc4_80-1.53 {Encrypt rc4-80 offset 1008} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 64]] 1008 1023]} \
-match exact -result 8bab26fbc2c12b0f13e2ab185eabf241
tcltest::test Stream_rc4_80-1.54 {Decrypt rc4-80 offset 1008} \
tcltest::test Symetric_Stream_rc4_80-1.54 {Decrypt rc4-80 offset 1008} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 64]]] 1008 1023]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.55 {Encrypt rc4-80 offset 1024} \
tcltest::test Symetric_Stream_rc4_80-1.55 {Encrypt rc4-80 offset 1024} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 65]] 1024 1039]} \
-match exact -result 31185a6d696f0cfa9b42808b38e132a2
tcltest::test Stream_rc4_80-1.56 {Decrypt rc4-80 offset 1024} \
tcltest::test Symetric_Stream_rc4_80-1.56 {Decrypt rc4-80 offset 1024} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 65]]] 1024 1039]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.57 {Encrypt rc4-80 offset 1520} \
tcltest::test Symetric_Stream_rc4_80-1.57 {Encrypt rc4-80 offset 1520} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 96]] 1520 1535]} \
-match exact -result 564d3dae183c5234c8af1e51061c44b5
tcltest::test Stream_rc4_80-1.58 {Decrypt rc4-80 offset 1520} \
tcltest::test Symetric_Stream_rc4_80-1.58 {Decrypt rc4-80 offset 1520} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 96]]] 1520 1535]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.59 {Encrypt rc4-80 offset 1536} \
tcltest::test Symetric_Stream_rc4_80-1.59 {Encrypt rc4-80 offset 1536} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 97]] 1536 1551]} \
-match exact -result 3c0778a7b5f72d3c23a3135c7d67b9f4
tcltest::test Stream_rc4_80-1.60 {Decrypt rc4-80 offset 1536} \
tcltest::test Symetric_Stream_rc4_80-1.60 {Decrypt rc4-80 offset 1536} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 97]]] 1536 1551]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.61 {Encrypt rc4-80 offset 2032} \
tcltest::test Symetric_Stream_rc4_80-1.61 {Encrypt rc4-80 offset 2032} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 128]] 2032 2047]} \
-match exact -result f34369890fcf16fb517dcaae4463b2dd
tcltest::test Stream_rc4_80-1.62 {Decrypt rc4-80 offset 2032} \
tcltest::test Symetric_Stream_rc4_80-1.62 {Decrypt rc4-80 offset 2032} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 128]]] 2032 2047]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.63 {Encrypt rc4-80 offset 2048} \
tcltest::test Symetric_Stream_rc4_80-1.63 {Encrypt rc4-80 offset 2048} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 129]] 2048 2063]} \
-match exact -result 02f31c81e8200731b899b028e791bfa7
tcltest::test Stream_rc4_80-1.64 {Decrypt rc4-80 offset 2048} \
tcltest::test Symetric_Stream_rc4_80-1.64 {Decrypt rc4-80 offset 2048} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 129]]] 2048 2063]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.65 {Encrypt rc4-80 offset 3056} \
tcltest::test Symetric_Stream_rc4_80-1.65 {Encrypt rc4-80 offset 3056} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 192]] 3056 3071]} \
-match exact -result 72da646283228c14300853701795616f
tcltest::test Stream_rc4_80-1.66 {Decrypt rc4-80 offset 3056} \
tcltest::test Symetric_Stream_rc4_80-1.66 {Decrypt rc4-80 offset 3056} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 192]]] 3056 3071]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.67 {Encrypt rc4-80 offset 3072} \
tcltest::test Symetric_Stream_rc4_80-1.67 {Encrypt rc4-80 offset 3072} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 193]] 3072 3087]} \
-match exact -result 4e0a8c6f7934a788e2265e81d6d0c8f4
tcltest::test Stream_rc4_80-1.68 {Decrypt rc4-80 offset 3072} \
tcltest::test Symetric_Stream_rc4_80-1.68 {Decrypt rc4-80 offset 3072} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 193]]] 3072 3087]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.69 {Encrypt rc4-80 offset 4080} \
tcltest::test Symetric_Stream_rc4_80-1.69 {Encrypt rc4-80 offset 4080} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 256]] 4080 4095]} \
-match exact -result 438dd5eafea0111b6f36b4b938da2a68
tcltest::test Stream_rc4_80-1.70 {Decrypt rc4-80 offset 4080} \
tcltest::test Symetric_Stream_rc4_80-1.70 {Decrypt rc4-80 offset 4080} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 256]]] 4080 4095]} \
-match exact -result 00000000000000000000000000000000
tcltest::test Stream_rc4_80-1.71 {Encrypt rc4-80 offset 4096} \
tcltest::test Symetric_Stream_rc4_80-1.71 {Encrypt rc4-80 offset 4096} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 257]] 4096 4111]} \
-match exact -result 5f6bfc73815874d97100f086979357d8
tcltest::test Stream_rc4_80-1.72 {Decrypt rc4-80 offset 4096} \
tcltest::test Symetric_Stream_rc4_80-1.72 {Decrypt rc4-80 offset 4096} \
-constraints rc4_80 \
-body {binary encode hex [string range [tls::decrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [tls::encrypt -cipher rc4-80 -padding 0 -key [binary decode hex 8b37641910833222772a] \
-data [string repeat [binary decode hex 00000000000000000000000000000000] 257]]] 4096 4111]} \
-match exact -result 00000000000000000000000000000000
# Cleanup
|