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

feature: reseed and extraSeed #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

haochenx
Copy link

@haochenx haochenx commented Jul 11, 2023

This PR implement the following two APIs to the UUID constructor:

pure-uuid/uuid.d.ts

Lines 68 to 72 in fd97f01

/* reseed the internal pseudo random number generator */
reseed(seed: string);
/* provide extra entropy to the internal pseudo random number generator */
extraSeed(extraSeed: string);

Signed-off-by: Haochen Kotoi-Xie <haochenx@acm.org>
@haochenx
Copy link
Author

@rse would you mind to take a look and consider merging this PR?

rse added a commit that referenced this pull request Aug 16, 2023
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 this pull request may close these issues.

None yet

1 participant