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

Cleanup crypto code in shim.js #54

Merged
merged 7 commits into from
Sep 20, 2017
Merged

Cleanup crypto code in shim.js #54

merged 7 commits into from
Sep 20, 2017

Conversation

jd20
Copy link
Contributor

@jd20 jd20 commented Sep 20, 2017

Cleaning up the crypto stuff in shim.js. Getting rid of the sha256 algo hack, since it no longer seems necessary with browserify-sign 4.0.0 and later. Requiring a newer version of react-native-crypto, which populates window.getRandomValues() function for us (and has a bug fix to that function for non-Uint8 Typed Arrays). Also adding a reminder in README to link libraries.

Note: This has to be merged after the react-native-crypto PR is merged, otherwise react-native-crypto 2.1.0 won't exist.

@mvayngrib
Copy link
Member

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