rc4-40.test at [0046a7f25d]

File tests/test_vectors/Symetric_Stream/rc4-40.test artifact 98f00825f9 part of check-in 0046a7f25d


# Auto generated from "rc4-40.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_40 [expr {[lsearch -nocase [tls::ciphers] rc4-40] > -1}]


tcltest::test Symetric_Stream_rc4_40-1.1 {Encrypt rc4-40 offset 0} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [binary decode hex 00000000000000000000000000000000]] 0 15]} \
	-match exact -result b2396305f03dc027ccc3524a0a1118a8


tcltest::test Symetric_Stream_rc4_40-1.2 {Decrypt rc4-40 offset 0} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [binary decode hex 00000000000000000000000000000000]]] 0 15]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.3 {Encrypt rc4-40 offset 16} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 2]] 16 31]} \
	-match exact -result 6982944f18fc82d589c403a47a0d0919


tcltest::test Symetric_Stream_rc4_40-1.4 {Decrypt rc4-40 offset 16} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 2]]] 16 31]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.5 {Encrypt rc4-40 offset 240} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 16]] 240 255]} \
	-match exact -result 28cb1132c96ce286421dcaadb8b69eae


tcltest::test Symetric_Stream_rc4_40-1.6 {Decrypt rc4-40 offset 240} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 16]]] 240 255]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.7 {Encrypt rc4-40 offset 256} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 17]] 256 271]} \
	-match exact -result 1cfcf62b03eddb641d77dfcf7f8d8c93


tcltest::test Symetric_Stream_rc4_40-1.8 {Decrypt rc4-40 offset 256} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 17]]] 256 271]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.9 {Encrypt rc4-40 offset 496} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 32]] 496 511]} \
	-match exact -result 42b7d0cdd918a8a33dd51781c81f4041


tcltest::test Symetric_Stream_rc4_40-1.10 {Decrypt rc4-40 offset 496} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 32]]] 496 511]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.11 {Encrypt rc4-40 offset 512} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 33]] 512 527]} \
	-match exact -result 6459844432a7da923cfb3eb4980661f6


tcltest::test Symetric_Stream_rc4_40-1.12 {Decrypt rc4-40 offset 512} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 33]]] 512 527]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.13 {Encrypt rc4-40 offset 752} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 48]] 752 767]} \
	-match exact -result ec10327bde2beefd18f9277680457e22


tcltest::test Symetric_Stream_rc4_40-1.14 {Decrypt rc4-40 offset 752} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 48]]] 752 767]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.15 {Encrypt rc4-40 offset 768} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 49]] 768 783]} \
	-match exact -result eb62638d4f0ba1fe9fca20e05bf8ff2b


tcltest::test Symetric_Stream_rc4_40-1.16 {Decrypt rc4-40 offset 768} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 49]]] 768 783]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.17 {Encrypt rc4-40 offset 1008} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 64]] 1008 1023]} \
	-match exact -result 45129048e6a0ed0b56b490338f078da5


tcltest::test Symetric_Stream_rc4_40-1.18 {Decrypt rc4-40 offset 1008} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 64]]] 1008 1023]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.19 {Encrypt rc4-40 offset 1024} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 65]] 1024 1039]} \
	-match exact -result 30abbcc7c20b01609f23ee2d5f6bb7df


tcltest::test Symetric_Stream_rc4_40-1.20 {Decrypt rc4-40 offset 1024} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 65]]] 1024 1039]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.21 {Encrypt rc4-40 offset 1520} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 96]] 1520 1535]} \
	-match exact -result 3294f744d8f9790507e70f62e5bbceea


tcltest::test Symetric_Stream_rc4_40-1.22 {Decrypt rc4-40 offset 1520} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 96]]] 1520 1535]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.23 {Encrypt rc4-40 offset 1536} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 97]] 1536 1551]} \
	-match exact -result d8729db41882259bee4f825325f5a130


tcltest::test Symetric_Stream_rc4_40-1.24 {Decrypt rc4-40 offset 1536} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 97]]] 1536 1551]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.25 {Encrypt rc4-40 offset 2032} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 128]] 2032 2047]} \
	-match exact -result 1eb14a0c13b3bf47fa2a0ba93ad45b8b


tcltest::test Symetric_Stream_rc4_40-1.26 {Decrypt rc4-40 offset 2032} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 128]]] 2032 2047]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.27 {Encrypt rc4-40 offset 2048} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 129]] 2048 2063]} \
	-match exact -result cc582f8ba9f265e2b1be9112e975d2d7


tcltest::test Symetric_Stream_rc4_40-1.28 {Decrypt rc4-40 offset 2048} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 129]]] 2048 2063]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.29 {Encrypt rc4-40 offset 3056} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 192]] 3056 3071]} \
	-match exact -result f2e30f9bd102ecbf75aaade9bc35c43c


tcltest::test Symetric_Stream_rc4_40-1.30 {Decrypt rc4-40 offset 3056} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 192]]] 3056 3071]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.31 {Encrypt rc4-40 offset 3072} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 193]] 3072 3087]} \
	-match exact -result ec0e11c479dc329dc8da7968fe965681


tcltest::test Symetric_Stream_rc4_40-1.32 {Decrypt rc4-40 offset 3072} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 193]]] 3072 3087]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.33 {Encrypt rc4-40 offset 4080} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 256]] 4080 4095]} \
	-match exact -result 068326a2118416d21f9d04b2cd1ca050


tcltest::test Symetric_Stream_rc4_40-1.34 {Decrypt rc4-40 offset 4080} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 256]]] 4080 4095]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.35 {Encrypt rc4-40 offset 4096} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 257]] 4096 4111]} \
	-match exact -result ff25b58995996707e51fbdf08b34d875


tcltest::test Symetric_Stream_rc4_40-1.36 {Decrypt rc4-40 offset 4096} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 0102030405] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 257]]] 4096 4111]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.37 {Encrypt rc4-40 offset 0} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [binary decode hex 00000000000000000000000000000000]] 0 15]} \
	-match exact -result 80ad97bdc973df8a2e879e92a497efda


tcltest::test Symetric_Stream_rc4_40-1.38 {Decrypt rc4-40 offset 0} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [binary decode hex 00000000000000000000000000000000]]] 0 15]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.39 {Encrypt rc4-40 offset 16} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 2]] 16 31]} \
	-match exact -result 20f060c2f2e5126501d3d4fea10d5fc0


tcltest::test Symetric_Stream_rc4_40-1.40 {Decrypt rc4-40 offset 16} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 2]]] 16 31]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.41 {Encrypt rc4-40 offset 240} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 16]] 240 255]} \
	-match exact -result faa148e99046181fec6b2085f3b20ed9


tcltest::test Symetric_Stream_rc4_40-1.42 {Decrypt rc4-40 offset 240} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 16]]] 240 255]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.43 {Encrypt rc4-40 offset 256} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 17]] 256 271]} \
	-match exact -result f0daf5bab3d596839857846f73fbfe5a


tcltest::test Symetric_Stream_rc4_40-1.44 {Decrypt rc4-40 offset 256} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 17]]] 256 271]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.45 {Encrypt rc4-40 offset 496} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 32]] 496 511]} \
	-match exact -result 1c7e2fc4639232fe297584b296996bc8


tcltest::test Symetric_Stream_rc4_40-1.46 {Decrypt rc4-40 offset 496} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 32]]] 496 511]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.47 {Encrypt rc4-40 offset 512} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 33]] 512 527]} \
	-match exact -result 3db9b249406cc8edffac55ccd322ba12


tcltest::test Symetric_Stream_rc4_40-1.48 {Decrypt rc4-40 offset 512} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 33]]] 512 527]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.49 {Encrypt rc4-40 offset 752} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 48]] 752 767]} \
	-match exact -result e4f9f7e0066154bbd125b745569bc897


tcltest::test Symetric_Stream_rc4_40-1.50 {Decrypt rc4-40 offset 752} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 48]]] 752 767]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.51 {Encrypt rc4-40 offset 768} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 49]] 768 783]} \
	-match exact -result 75d5ef262b44c41a9cf63ae14568e1b9


tcltest::test Symetric_Stream_rc4_40-1.52 {Decrypt rc4-40 offset 768} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 49]]] 768 783]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.53 {Encrypt rc4-40 offset 1008} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 64]] 1008 1023]} \
	-match exact -result 6da453dbf81e82334a3d8866cb50a1e3


tcltest::test Symetric_Stream_rc4_40-1.54 {Decrypt rc4-40 offset 1008} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 64]]] 1008 1023]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.55 {Encrypt rc4-40 offset 1024} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 65]] 1024 1039]} \
	-match exact -result 7828d074119cab5c22b294d7a9bfa0bb


tcltest::test Symetric_Stream_rc4_40-1.56 {Decrypt rc4-40 offset 1024} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 65]]] 1024 1039]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.57 {Encrypt rc4-40 offset 1520} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 96]] 1520 1535]} \
	-match exact -result adb89cea9a15fbe617295bd04b8ca05c


tcltest::test Symetric_Stream_rc4_40-1.58 {Decrypt rc4-40 offset 1520} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 96]]] 1520 1535]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.59 {Encrypt rc4-40 offset 1536} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 97]] 1536 1551]} \
	-match exact -result 6251d87fd4aaae9a7e4ad5c217d3f300


tcltest::test Symetric_Stream_rc4_40-1.60 {Decrypt rc4-40 offset 1536} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 97]]] 1536 1551]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.61 {Encrypt rc4-40 offset 2032} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 128]] 2032 2047]} \
	-match exact -result e7119bd6dd9b22afe8f89585432881e2


tcltest::test Symetric_Stream_rc4_40-1.62 {Decrypt rc4-40 offset 2032} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 128]]] 2032 2047]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.63 {Encrypt rc4-40 offset 2048} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 129]] 2048 2063]} \
	-match exact -result 785b60fd7ec4e9fcb6545f350d660fab


tcltest::test Symetric_Stream_rc4_40-1.64 {Decrypt rc4-40 offset 2048} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 129]]] 2048 2063]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.65 {Encrypt rc4-40 offset 3056} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 192]] 3056 3071]} \
	-match exact -result afecc037fdb7b0838eb3d70bcd268382


tcltest::test Symetric_Stream_rc4_40-1.66 {Decrypt rc4-40 offset 3056} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 192]]] 3056 3071]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.67 {Encrypt rc4-40 offset 3072} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 193]] 3072 3087]} \
	-match exact -result dbc1a7b49d57358cc9fa6d61d73b7cf0


tcltest::test Symetric_Stream_rc4_40-1.68 {Decrypt rc4-40 offset 3072} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 193]]] 3072 3087]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.69 {Encrypt rc4-40 offset 4080} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 256]] 4080 4095]} \
	-match exact -result 6349d126a37afcba89794f9804914fdc


tcltest::test Symetric_Stream_rc4_40-1.70 {Decrypt rc4-40 offset 4080} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 256]]] 4080 4095]} \
	-match exact -result 00000000000000000000000000000000


tcltest::test Symetric_Stream_rc4_40-1.71 {Encrypt rc4-40 offset 4096} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 257]] 4096 4111]} \
	-match exact -result bf42c3018c2f7c66bfde524975768115


tcltest::test Symetric_Stream_rc4_40-1.72 {Decrypt rc4-40 offset 4096} \
	-constraints rc4_40 \
	-body {binary encode hex [string range [tls::decrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [tls::encrypt -cipher rc4-40 -padding 0 -key [binary decode hex 833222772a] \
		-data [string repeat [binary decode hex 00000000000000000000000000000000] 257]]] 4096 4111]} \
	-match exact -result 00000000000000000000000000000000

# Cleanup
::tcltest::cleanupTests
return