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

Choose "best" engine automatically? #43

Open
garyo opened this issue Aug 20, 2020 · 1 comment · May be fixed by #65
Open

Choose "best" engine automatically? #43

garyo opened this issue Aug 20, 2020 · 1 comment · May be fixed by #65

Comments

@garyo
Copy link

garyo commented Aug 20, 2020

I understand if you don't select an engine, it uses Math.random(). Would it be possible to have a mode that uses the best engine for the currently running environment instead, i.e. window.crypto in modern browsers, node.js crypto in node, or fall back to Math.random()?

@rawr51919
Copy link

rawr51919 commented Feb 4, 2021

If there's a possibility of having the Mersenne Twister be a part of this, or any new engine that may get created for it, that would be great too
@ckknight would this be a possibility in v3.0.0?

@rawr51919 rawr51919 linked a pull request Sep 19, 2023 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants