setEncryptionPrefix(encOpts.remove("prefix"));
setEncryptionSuffix(encOpts.remove("suffix"));
boolean enabled = Boolean.parseBoolean(encOpts.remove("enabled"));
if (enabled) {
encOpts.remove("name");
encryption = new BasicEncryption(encOpts);
}
}
return encryption;
}