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

Prevent using crypto for SharedArrayBuffer #76

Merged
merged 1 commit into from
Jun 1, 2024
Merged

Conversation

namse
Copy link
Contributor

@namse namse commented Jun 1, 2024

Related issue: w3c/webcrypto#213

In chrome, Crypto doesn't work with SharedArrayBuffer. it makes error The provided ArrayBufferView value must not be shared..

I suggest to use previous Math random code when memory is SharedArrayBuffer.

@bjorn3 bjorn3 merged commit 377fbeb into bjorn3:main Jun 1, 2024
1 check passed
@bjorn3
Copy link
Owner

bjorn3 commented Jun 1, 2024

Thanks!

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.

2 participants