Skip to content

Commit

Permalink
remove throw UnimplementedError(#aes-algorithm)
Browse files Browse the repository at this point in the history
  • Loading branch information
LamNguyen176 committed Oct 11, 2024
1 parent daf304a commit de15fe2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/flutter_crypto_algorithm_platform_interface.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ abstract class FlutterCryptoAlgorithmPlatform extends PlatformInterface {
_instance = instance;
}

Future<String?> encrypt(String value, String privateKey, String? ivKey) {
throw UnimplementedError('encrypt(value, privateKey, ivKey?) has not been implemented.');
}
Future<String?> encrypt(String value, String privateKey, String? ivKey);

Future<String?> decrypt(String value, String privateKey, String? ivKey) {
throw UnimplementedError('decrypt(value, privateKey, ivKey?) has not been implemented.');
}
Future<String?> decrypt(String value, String privateKey, String? ivKey);
}

0 comments on commit de15fe2

Please sign in to comment.