We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So I encrypted a value using crypto-js on my backend like this :
const encryptedValue = CryptoJS.AES.encrypt( JSON.stringify(data), process.env.ENCRYPTION_KEY );
Then I try to decrypt it using this in my flutter app:
class CustomEncryption { static final encryptionKey = Key.fromUtf8('quZ2z5Fe42vci3teZmMIxtPxtdPtTSMQ'); static final iv = IV.fromLength(16); static String decrypt(String data) { final encrypter = Encrypter(AES( encryptionKey, mode: AESMode.cbc, padding: null, )); final decrypted = encrypter.decrypt64(data, iv: iv); return decrypted; } }
But this is returned g��ԩ�����R\��{�+�ziN
The text was updated successfully, but these errors were encountered:
@abdimussa87 Did you get a solution for this? @leocavalcante
Sorry, something went wrong.
No branches or pull requests
So I encrypted a value using crypto-js on my backend like this :
Then I try to decrypt it using this in my flutter app:
But this is returned g��ԩ�����R\��{�+�ziN
The text was updated successfully, but these errors were encountered: