Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NewSeeded: rename new → try_new, add new_with_fallback #21

Closed
wants to merge 7 commits into from

Commits on Oct 23, 2017

  1. NewSeeded: rename new → try_new, add new_with_fallback

    Rename OsRng::new → try_new too for consitency
    Add dependency on time crate
    (Note: better to use chrono, but has no real equivalent to precise_time_ns().)
    dhardy committed Oct 23, 2017
    Configuration menu
    Copy the full SHA
    d6f8ebf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a306a69 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2017

  1. ClockRng: use std::time, improve algorithm

    Remove dependency on external crate
    Use variation on PCG to mix internal state and generate output
    Use multiple init cycles
    dhardy committed Oct 24, 2017
    Configuration menu
    Copy the full SHA
    64f1f63 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07a350a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd6604a View commit details
    Browse the repository at this point in the history
  4. Add StrongClockRng

    dhardy committed Oct 24, 2017
    Configuration menu
    Copy the full SHA
    e40a030 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2017

  1. Revise StrongClockRng (mostly better mixing)

    Also appears to double performance; this might be because the >sec parts
    of the time are now ignored and/or algorithm being more parallelizable.
    dhardy committed Oct 25, 2017
    Configuration menu
    Copy the full SHA
    bbc7ad2 View commit details
    Browse the repository at this point in the history