encrypt method
Encrypts the provided data using AES encryption.
data: The plaintext data to be encrypted.password: The password or key used for encryption.
Implementation
Future<String> encrypt({required String data, required String password}) {
return BouncyCastleSecurityPlatform.instance.encrypt(data, password);
}