> Can you give an > example please? Here's a useful one, my favourite way of generating a random seed:
var byte randomseed var word counter for 65535 using counter loop randomseed=randomseed+dereference[counter] end loop Some registers have definded values on startup, some don't. Those who don't contain values that may depend on... - how long power was removed - the speed of the supply rising - electromagnetic interference during power-up - cosmic radiation during power-up... So it is highly possible that this loop will not yield the same value on each startup. I think it is the best source of entropy on startup without using additional hardware. ADC converters, where available, should be tested however, they may be even better entropy sources. Another idea would be to run ADC conversion at an out-of-spec rate. But that's another issue ;-) Greets, Kiste -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
