Re: Lab 3... (fwd)

From: Paul Berube (berube@ugrad.cs.ualberta.ca)
Date: Tue Oct 09 2001 - 17:07:39 MDT


>
>We have a step of encryption based on number the inputs.
>We are given inputs from zero to 7, are we to assume that the eighth input
>should be treated like the zeroith imput?
>
>Thanks
>

yes, this is correct. if you have a counter (8 bits), and you just keep
incrementing it, it will wrap around from 7 to 0 automatically. the input
number is mod 8.



This archive was generated by hypermail 2.1.3 : Wed Nov 21 2001 - 15:50:12 MST