Casper's Blog – Why I forked rand

https://casualhacks.net/blog/2026-07-27-why-i-forked-rand.html

4 points · 3 comments · view on lemmy.world

3 Comments

BB_C@programming.dev · 1 pts · 16d (2 replies)

Ctrl-F fastrand (0 results)

I had to stop reading very early. Sorry, but if you're going to do this topic, at least acknowledge the other very popular randomness crate, and argue why it wasn't good enough for what you wanted.

SorteKanin@feddit.dk · 1 pts · 16d (1 reply)

Isn't it pretty obvious? Fastrand is not cryptographically secure, urandom provides that option.

BB_C@programming.dev · 1 pts · 16d

Fastrand is not cryptographically secure

That's not relevant when it's a question of interface.

fastrand has a single Rng struct that drives everything else. Was the option to replace the implementation details of this struct explored? No idea.