jerson / react-native-fast-rsa

RSA for react native made with golang for fast performance
https://www.npmjs.com/package/react-native-fast-rsa
MIT License
32 stars 11 forks source link

Return decryptOAEP as Uint8Array rather than string #57

Open rmacd opened 1 year ago

rmacd commented 1 year ago

See https://github.com/jerson/react-native-fast-rsa/issues/56

rmacd commented 1 year ago

Have not checked what the repercussions would be on other dependencies of decryptOAEP; I'm assuming folks would be amenable to handling a Uint8Array (and casting to string themselves as need be) but that's not my call to make etc ...

jerson commented 1 year ago

Hi @rmacd thanks for this, I need to make some adjustements because we should add bytes method for all others methods, but is a great template to implement the remaining methods