Create a class `ConfigProtector` that provides a method to hide sensitive data in a configuration file using `Regex`. The method should replace sensitive values with asterisks. The configuration file will be provided as a string, and the keys for the sensitive data will be given in a list.
Create a class `ConfigProtector` that provides a method to hide sensitive data in a configuration file using `Regex`. The method should replace sensitive values with asterisks. The configuration file will be provided as a string, and the keys for the sensitive data will be given in a list.
The config file format will always be as follows:
```
username=admin
npassword=secret
...
```
### Expected Class
### Expected Class
```java
```java
import java.util.List;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ConfigProtector {
public class ConfigProtector {
public String hideSensitiveData(String configFile, List<String> sensitiveKeys) {
public String hideSensitiveData(String configFile, List<String> sensitiveKeys) {
@ -29,7 +38,7 @@ public class ExerciseRunner {
ConfigProtector protector = new ConfigProtector();
ConfigProtector protector = new ConfigProtector();