cryptojs - React-Native Crypto-js Cannot Decrypt String on iPhone 7 Plus Simulator -


in react-native ios project, trying use crypto-js decrypt string below code:

import * cryptojs "crypto-js" let key = "samplekey" let key = "sampleiv"  let decryptedstring = cryptojs.aes.decrypt(string, cryptojs.enc.base64.parse(key), { iv: cryptojs.enc.base64.parse(iv)}).tostring(cryptojs.enc.utf8)     

this decryption method works on ios simulator except iphone 7 plus (ios 10.3).

see simulator error image here

any idea on cause?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -