public static Cipher getCipher(String cipherSuite) {
Cipher cipher = null;
if (cipherSuite.equals("NullCipher")) {
cipher = new NullCipher();
} else {
try {
cipher = Cipher.getInstance(cipherSuite);
} catch (NoSuchAlgorithmException e) {
log.error(String.format("Accumulo configuration file contained a cipher suite \"%s\" that was not recognized by any providers", cipherSuite));