RNCryptorNative icon indicating copy to clipboard operation
RNCryptorNative copied to clipboard

Encrypted Emoji strings cannot decrypt with other implementations such as PHP/iOS

Open TomLuna opened this issue 10 years ago • 1 comments

My app needs to encrypt strings with Emojis. I'd thought it would work anyway just as normal characters but it seems not. I tested with some Emoji characters in this table http://apps.timwhitlock.info/emoji/tables/unicode. RNCryptorNative can encrypt/decrypt well but the encrypted text cannot decrypt with my server end code(PHP). It also cannot work with the iOS implementation. The input string is encoded with UTF-8. All other ASCII characters work well even with other char set such Chinese characters.

**This issues seems to only occur on ABI armeabi-v7a, not on arm64 (it failed on all my armeabi-v7a Android phones, which happen to be all below Android M. I'm not sure it's an OS or arch problem).

TomLuna avatar Aug 10 '16 15:08 TomLuna

Any updates on this issue? I encounter the same problem when using JNCryptor for encryption.

yahim91 avatar Aug 22 '16 08:08 yahim91