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
I am seeing this error for all the encryption method I have used, I am using flutter web, please help me to fix this issue.
Please find the code which I have used:-
import 'package:encrypt/encrypt.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart'; class Encryption { String version = '1.0'; final Encrypter encrypter = Encrypter(AES(Key.fromBase16(dotenv.get('KEY')))); String encrypt(String input) { return encrypter.encrypt(input, iv: IV.fromBase16(dotenv.get('IV'))).base64; } String decrypt(String input) { return encrypter.decrypt64(input, iv: IV.fromBase16(dotenv.get('IV'))); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am seeing this error for all the encryption method I have used, I am using flutter web, please help me to fix this issue.
Please find the code which I have used:-
The text was updated successfully, but these errors were encountered: