• SorteKanin@feddit.dkOP
    link
    fedilink
    arrow-up
    1
    ·
    26 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
      ·
      26 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.