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 -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

Python Tornado package error when running server -