React Native CryptoJS Blocking the UI

Viewed 115

Decryption using react-native-crypto-js blocking and freezing the UI until the decryption process finish.. any solution to solve this problem?

I'm decrypting using AES an image base64.

const bytes = CryptoJS.AES.decrypt( data, `password`);
const imageData = bytes.toString(CryptoJS.enc.Utf8);
0 Answers
Related