8000 Request: use better source of entropy · Issue #2 · elm/random · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Request: use better source of entropy #2
Open
@drathier

Description

@drathier

Basing randomness on current time is very low entropy, at most 1000 unique values available per second, shared across all browsers in the world. Birthday paradox says 38 browsers loading the site in the same second have a 50% chance of at least one collision.

Can we please use WebCrypto.getRandomValues() for seeding the PRNG?

People generally assume two browsers fetching random values at the same time to get different values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0