private final Map<String, String> properties;
private final Encryption encryption;
public UserProperties(Map<String, String> properties, @Nullable String pathToSecretKey) {
encryption = new Encryption(pathToSecretKey);
Map<String, String> decryptedProps = Maps.newHashMap();
for (Map.Entry<String, String> entry : properties.entrySet()) {
String value = entry.getValue();
if (value != null && encryption.isEncrypted(value)) {
try {