1. An electronic device, comprising: a processor; a memory, connected to the processor, in which a random data pool is stored; and a transducer connected to the processor and configured to sense motion of the electronic device and generate an output in response to sensed motion; wherein the processor is configured to generate new random data in accordance with the output of the transducer when sensed motion exceeds a threshold, and to store the new random data in the random data pool in the memory.