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.
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.