Home > Back-end >  True random number generator in python or javascript
True random number generator in python or javascript

Time:08-04

I am trying to implement a simple pseudo random generator used in cryptography called LFSR (linear feedback shift register).

I have checked a few JS and Python websites for a way to generate a True Random Number but all I find is pseudo random number generator.

Is it possible to get a TRN from these coding languages ?

Just some pointers would be fine, I am not originally a coder so got a bit confused by this.

CodePudding user response:

True randomness comes from stuff like detecting radioactive decay events. So no, you cannot achieve true randomness with standard hardware.

CodePudding user response:

On your own, achieving true randomness is very difficult, but some APIs that do this exist.

random.org does it, for example.

  • Related