2 ms·
> Why should rand() be reserved for your use case Because rand has a specific and well defined meaning. In addition I see no evidence that this use-case is an
by h_anna_h 6y ago
> Why should rand() be reserved for your use case
Because rand has a specific and well defined meaning. In addition I see no evidence that this use-case is any less popular. Anyway, this subthread is about having to go through extra hoops to have deterministic random numbers, your post is irrelevant to that. I do not think that anyone would be against defining random() to return a secure random number in your language.
> Defaults should be secure
Are you supporting that new computers should come preinstalled with Qubes OS, have a constant time memcmp, constant time font rendering, etc?
> Because your in the minority
Fuck people with allergies, right? Let's only provide food with nuts and have them go through "additional hoops" to get food that won't kill them.
I do not think that this is a sound argument.