• BB_C@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    19 days 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
      ·
      19 days ago

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

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