ashkash 0 Newbie Poster

I need to perform a sha-1 hash on a byte array. The byte array needs to be hashed with all combinations of a minimum of 4 bytes to a maximum of all 9 bytes of the following bytes: 00 01 02 03 04 05 06 07 08

So the following are some examples of the byte array that would need to be hashed using a sha-1 hash:

00 01 02 03
00 01 02 04
00 01 02 05
...
00 01 02 03 04
...
00 01 02 03 04 05 06 07 08 08

The hex string of each of the byte arrays would need to be hashed using a sha-1 hash and all combinations of a min. of 4 bytes and max of 9 bytes from 00 to 08 would need to be covered.

I need a little help in getting started as I am new to C# and programming and just looking for help in automating something. I would need to generate all the combinations of the byte array and hash each one using a sha-1 hash. Any help is appreciated. thanks.