A method and apparatus for generating a random logic bit value. In some
embodiments, a spin polarized current is created by flowing a pulse
current through a spin polarizing material. The spin polarized current is
injected in a free layer of a magnetic tunneling junction and a random
logical bit value results from a variation in pulse current duration or a
variation in thermal properties.