decryptPrivateKey static method

Future<String> decryptPrivateKey(
  1. String privateKeyEncrypted,
  2. String password
)

Implementation

static Future<String> decryptPrivateKey(
    String privateKeyEncrypted, String password) async {
  var request = DecryptPrivateKeyRequest()
    ..privateKeyEncrypted = privateKeyEncrypted
    ..password = password;

  return await _stringResponse("decryptPrivateKey", request.writeToBuffer());
}