• BB_C@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    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.dkOP
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

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

      • BB_C@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 month 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.