1 package org.kuali.common.util.encrypt; 2 3 // Singleton enum pattern 4 public enum NoOpEncryptor implements Encryptor { 5 INSTANCE; 6 7 @Override 8 public String encrypt(String plaintext) { 9 return plaintext; 10 } 11 12 @Override 13 public String decrypt(String encrypted) { 14 return encrypted; 15 } 16 17 }