# Random Numbers with LFSR (Linear Feedback Shift Register)

**URL:** <https://forum.xojo.com/t/random-numbers-with-lfsr-linear-feedback-shift-register/65875>\
**Category:** Announcements\
**Created:** [October 1, 2021, 5:51pm UTC](https://forum.xojo.com/t/random-numbers-with-lfsr-linear-feedback-shift-register/65875 "2021-10-01T17:51:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alyssa\_Foley](https://forum.xojo.com/user_avatar/forum.xojo.com/alyssa_foley/32/182_2.png) [@Alyssa\_Foley](https://forum.xojo.com/u/Alyssa_Foley)\
**Post date:** [October 1, 2021, 5:51pm UTC](https://forum.xojo.com/t/random-numbers-with-lfsr-linear-feedback-shift-register/65875/1 "2021-10-01T17:51:57Z")

</div>

Originally published at: [Random Numbers with LFSR (Linear Feedback Shift Register) – Xojo Programming Blog](https://blog.xojo.com/2021/10/01/random-numbers-with-lfsr-linear-feedback-shift-register/)  
   
I recently watched this video from Computerphile on YouTube (one of my favorite channels). It demonstrates a simple bit-shift operation can generate amazing random strings of numbers. I thought I’d quickly convert it to Xojo.
