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

Asynchronous PRNG (and .gen() method) #96

Open
1valdis opened this issue Mar 11, 2020 · 0 comments
Open

Asynchronous PRNG (and .gen() method) #96

1valdis opened this issue Mar 11, 2020 · 0 comments
Labels

Comments

@1valdis
Copy link

1valdis commented Mar 11, 2020

I want to use an async function to generate cryptographically strong random numbers for Randexp. But seems like currently randexp.randInt can only return generated value, not a Promise of the value. It would be good to see that implemented so that I can generate cryptographically strong passwords and tokens according to regular expressions. Although making that possible probably also means making .gen() function async too...

@fent fent added the feature label Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants