How to encrypt your text messages in flutter using Encrypt package
Install Encrypt package from https://pub.dev/packages/encrypt
Import your package import 'package:encrypt/encrypt.dart' as enc;
Use the below code for encryption and decryption
Point to remember key length should be either 32 lengths,64 length and 12...
amandevblogs.hashnode.dev1 min read