code: public static CipherAlgorithm getAlgorithmCipher(String encryptAlgorithm) {
  	if (encryptAlgorithm==null) { 
  		return null;
  	}
  	switch (encryptAlgorithm) {
  		case "aes128": return CipherAlgorithm.aes128;
  		case "aes192": return CipherAlgorithm.aes192;
  		case "aes256": return CipherAlgorithm.aes256;
  		case "des": return CipherAlgorithm.des;
  		case "des3": return CipherAlgorithm.des3;
  		case "des3_112": return CipherAlgorithm.des3_112;
  		case "rc2": return CipherAlgorithm.rc2;
  		case "rc4": return CipherAlgorithm.rc4;
  		case "rsa": return CipherAlgorithm.rsa;
  		default:
  			LOG.error("Uknown encryption algorithm: \""+encryptAlgorithm+"\"");
  			break;
  	}
  	return null;
  }
docs: Returns the CipherAlgorithm object matching the String.
  
  @param encryptAlgorithm encryption algorithm
  
  @return CipherAlgorithm object corresponding to encryption algorithm. Null if does not correspond to any algorithm.