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

Remove the CryptoJS library #1326

Conversation

lawrence-forooghian
Copy link
Collaborator

@lawrence-forooghian lawrence-forooghian commented Jun 7, 2023

Note: this is based on top of #1325; please review that one first.

This completely removes our usage of the CryptoJS library. See commit messages for more details.

Resolves #1239.

We do this by making IPlatformConfig.getRandomValues mandatory.

Since we’re now targeting modern browsers, we can get rid of the
TypedArray checks and the accessing of the msCrypto object.
We’re no longer making use of this library (in order to reduce bundle
size, given that modern browsers provide all of the necessary crypto
functionality).

Resolves #1239.
@lawrence-forooghian
Copy link
Collaborator Author

Sorry, marked this one as ready for review too soon, ignore!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant