资 源 简 介
purg
purg, pronounced purge, is a parallel, scalable, thread-safe pseudorandom number generating library designed to produce high quality, independent random streams suitable for simulations. By using strong cryptographic hashing functions, the pseudorandom number streams are sufficiently random and independent for simulation.
The idea behind purg is a fairly simple one. Strong cryptographic hashing functions require substantial computing resources to compromise. Finding patterns in a true cryptographic hash function (should one exist) would be infeasible. Since computational simulation requires a feasible amount of resources, any simulation would not have performed enough computation to find a pattern in the output of a cryptographic hash function. So, they can be used to generate sufficiently random streams.
The existence of true cryptographic hash functions would imply P != NP. Rat