Jep, as I thought, you wanted a HASH algorithm. Just use a 4-tap LFSR (I would recommend a Galois, for speed and simplicity), modify it to your needs. Some valid tap positions are *63*, 3, 2, 0. I can provide you with some PIC16 code if you can't figure it out yourself. Mark On 1/30/06, Jinx wrote: > > > > Why is there no spec for "Time from interrupt to SLEEP mode > > exit"?! (Or maybe there is and I haven't seen it...) > > Look in Section 3.2.4 (and elsewhere) of the Mid-Range Reference > Manual (2.64MB) > > http://ww1.microchip.com/downloads/en/DeviceDoc/33023a.pdf > > I'm pretty sure that there is no start-up delay with IntRC > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist