|
|
|
|
|
by tgsovlerkhgsel
1953 days ago
|
|
I benchmarked it, and AES-CTR is faster than `random()` on a machine with AES-NI. That's my main point: It does _not_ seem to be meaningfully more expensive to use cryptographic randomness. Yes, you could build a faster non-cryptographic PRNG, but that's not what is done by the default library. |
|