tectiv3 / react-native-aes

Native module for AES encryption
MIT License
188 stars 135 forks source link

Adding algorithm param to encrypt and decrypt method, defaulting to a… #46

Closed iralution closed 3 years ago

iralution commented 4 years ago

Adding algorithm param to encrypt and decrypt method, defaulting to a…

tectiv3 commented 4 years ago

Okay, but it needs readme update, typescript definitions update and android of course :)

iralution commented 4 years ago

I agree with readme and typescript.. On android it works based on the keylength, as far as I could see, so the parameter would only be kinda "dummy".. but yeah, as long as this lib works directly with NativeModules this seems necessary

franzejr commented 3 years ago

I think this can be merged, right ? I need to do AES128 and right now on iOS it doesn't change based on the key length....

tectiv3 commented 3 years ago

Without support on android side (even if it is dummy) I can't merge it.