react-native-simple-crypto
react-native-simple-crypto copied to clipboard
Why promises for hashing functions?
I wonder why the hashing functions are all sync natively, yet return promises? Any reason for that?
That is a good question, I can work on that
Its seems using sync function have some implications https://reactnative.dev/docs/native-modules-ios#synchronous-methods
I still think making them async is the way to go
Fixed here: https://github.com/ghbutton/react-native-simple-crypto/pull/44
I invited you as a collaborator if that is ok