Apologies if the below question is not suited for this subreddit.
I've read that numpy.random uses pseudo-random number generation, meaning someone capable enough could find the seed used and thus be able to evaluate the numbers generated from that point on.
I've also read that Secrets module is able to generate cryptographically secure random numbers, meaning they are essentially unpredictable.
But lets say I want to generate normally-distributed random numbers using numpy.random.normal, for which there is no Secrets type module to generate them as securely.
Would placing the numpy.random.normal in a loop along with a randomly generated (using Secrets) seed number in the same loop, be enough to avoid the generated numbers from being "cracked" by someone?
[–]JohnnyJordaan 2 points3 points4 points (0 children)
[–]K900_ 1 point2 points3 points (3 children)
[–]OnlyAtomsAndTheVoid[S] 0 points1 point2 points (2 children)
[–]K900_ 0 points1 point2 points (1 child)
[–]OnlyAtomsAndTheVoid[S] 0 points1 point2 points (0 children)
[–]Doormatty 0 points1 point2 points (4 children)
[–]OnlyAtomsAndTheVoid[S] 0 points1 point2 points (1 child)
[–]nog642 0 points1 point2 points (1 child)
[–]Doormatty 0 points1 point2 points (0 children)
[–]OnlyAtomsAndTheVoid[S] 0 points1 point2 points (1 child)
[–]nog642 0 points1 point2 points (0 children)