toDecryptRSA static method
Implementation
static Future<String> toDecryptRSA({required String encryptedText}) async {
String rsaEncryptedString = '';
try {
rsaEncryptedString = await RSA.decryptPKCS1v15(
encryptedText, KeyesConfiguration.rsaPrivate!);
} catch (e) {
debugPrint('decryptRSA--> Exception');
rethrow;
}
return rsaEncryptedString;
}