Skip to content

Conversation

samuelscheit
Copy link

For each getRandomBase64() call a new SecureRandom instance is created, which is very expensive.
I sped it up by creating an instance only once and then reusing it.

RNGetRandomValues

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