Skip to content

Consider switching the thread RNG to OsRng #78

Closed

Description

@pcwalton

I think we should not be encouraging ISAAC. The documentation even cautions against its use.

I know the compiler will get slow if you switch away from ISAAC, but we should just manually use ISAAC in the compiler if we really need that. Userspace CSPRNGs are bad.

Activity

  1. zackw commented on Sep 15, 2015

    @zackw

    ChaCha instead maybe?

  2. arthurprs commented on Nov 25, 2016

    @arthurprs
    Contributor

    Wouldn't that be order of magnitudes slower?

  3. added
    E-question
    on Jun 14, 2017
  4. dhardy commented on Dec 8, 2017

    @dhardy
    Member

    I don't think switching thread_rng to OsRng is the right choice (it's been discussed; thread_rng or rather an equivalent is used for seeding HashMap's hash function and is designed as a fast, reasonably strong generator).

    On the other hand we may increase thread_rng to full crypto strength: dhardy#53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions