this post was submitted on 31 Jul 2026
2 points (100.0% liked)

Rust

8182 readers
28 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] SorteKanin@feddit.dk 1 points 2 days ago (1 children)

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

[–] BB_C@programming.dev 1 points 2 days ago

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.