react-native-aes
react-native-aes copied to clipboard
Documentation
The documentation doesn't make text encoding clear at all.
It would seem:
- base16 (hexadecimal):
ivfromrandomKeyivforencryptivfordecryptkeyon iOS forencrypt(despite being called base64key in the JS code)keyon iOS fordecrypt(despite being called base64key in the JS code)
- base64:
cipherfromencrypt(no padding characters given)cipherfordecrypt(padding characters allowed but not required)
I haven't checked the other functions yet, but this was rather confusing to find out.
yep, you were right, thank you for catching those leftovers from refactoring.