News for hackers. Stuff that matters.
Re:An RNG that runs in your brain by keepamovin on Tuesday January 23, 2024 @08:10AM (#39102856)
I've always been partial to Von Neumann's middle square method myself.

https://en.wikipedia.org/wiki/Middle-square_method

Re:An RNG that runs in your brain by robobro on Tuesday January 23, 2024 @08:36AM (#39103109)
Huh, I remember writing that python snippet for the page about 10 years ago. Nice to see it's still there!
Re:An RNG that runs in your brain by memming on Tuesday January 23, 2024 @08:40AM (#39103154)
I used this to shuffle my MTG deck when I was a kid.
Re:An RNG that runs in your brain by zanfr on Tuesday January 23, 2024 @11:29AM (#39105549)
why just use the center digits all the time? just randomize it too
Re:An RNG that runs in your brain by keepamovin on Tuesday January 23, 2024 @10:15PM (#39113183)
Cool idea. Implement it! and test out with Dieharder :) -- Haha :)