tripleDESEncrypt static method
Encrypts data using 3DES technology. Returns a String
Implementation
static String tripleDESEncrypt(dynamic data, String encryptionKey) {
try {
final blockCipher = BlockCipher(TripleDESEngine(), encryptionKey);
return blockCipher.encodeB64(data);
} catch (error) {
throw(FlutterWaveError("Unable to encrypt request: $error"));
}
}