fent / fent/randexp.js

Asynchronous PRNG (and .gen() method)

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
1.9k
Forks
94
PR merge metrics
No merged PRs in 30d

Description

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...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.