Remove commented methods/fields in APPC
[appc.git] / appc-common / src / main / java / org / openecomp / appc / encryption / EncryptionTool.java
index 088fc85..a8b3026 100644 (file)
@@ -122,8 +122,6 @@ public class EncryptionTool {
      */
     @SuppressWarnings("nls")
     private EncryptionTool() {
-        // encryptor = new BasicTextEncryptor();
-        // encryptor.setPassword(secret.toString());
         String out = "Found the following security algorithms:";
         for (Provider p : Security.getProviders()) {
             for (Service s : p.getServices()) {
@@ -147,7 +145,6 @@ public class EncryptionTool {
     public synchronized String decrypt(String cipherText) {
         if (isEncrypted(cipherText)) {
             String encValue = cipherText.substring(ENCRYPTED_VALUE_PREFIX.length());
-            // return encryptor.decrypt(encValue);
             byte[] plainByte = Base64.decodeBase64(encValue.getBytes());
             byte[] decryptByte = xorWithSecret(plainByte);
             return new String(decryptByte);