Skip to content

Conversation

@NoorAhmed407
Copy link

Why.

I was working on a platform where crypto was not there in the global object, the polyfill was returning a new array instead mutating the array that is already there in the parameter. In that case uuid function was returning "0000000-0000-4000-8000-000000000000" every time because of

crypt0.getRandomValues(bytes);
          return bytes;

Raising a fix for this.

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.

1 participant