Skip to content

entropy used for seeding #2

Description

@timkuijsten

Looking quickly at the code seems to implicate that the initial seed is taken from Math.random [1]. As this discussion about Math.random in different browsers points out [2] this is not a strong source and having started the discussion at dcodeIO/bcrypt.js#16 I was wondering if you as the author of this library might be able to elaborate a bit on the subject?

[1] https://github.com/rubycon/isaac.js/blob/master/isaac.js#L103
[2] https://stackoverflow.com/questions/578700/how-trustworthy-is-javascripts-random-implementation-in-various-browsers#answer-18507748

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions