// Path: UtilSet/src/com/navercorp/utilset/cipher/CipherMode.java
// public enum CipherMode {
// 		AES,
// 	}
// 
// Path: UtilSet/src/com/navercorp/utilset/cipher/CipherUtils.java
// public class CipherUtils {
// 	CipherMode cipherMode;
// 	CipherObject cipherObject;
// 	
// 	public CipherUtils() {
// 		this(CipherMode.AES);
// 	}
// 	
// 	public CipherUtils(CipherMode cipherMode) {
// 		this.cipherMode = cipherMode;
// 		cipherObject = CipherObjectFactory.getInstance(this.cipherMode);
// 	}
// 
// 	/**
// 	 * 
// 	 * @param seed Seed string which is used for encryption and decryption  
// 	 * @param plainText String to be encrypted
// 	 * @return encrypted text
// 	 */
// 	public String encrypt(String seed, String plainText) {
// 		return cipherObject.encrypt(seed, plainText);
// 	}
// 
// 	/**
// 	 * 
// 	 * @param seed Seed string which is used for encryption and decryption
// 	 * @param cipherText String encrypted by encrypt method 
// 	 * @return plain text
// 	 */
// 	public String decrypt(String seed, String cipherText) {
// 		return cipherObject.decrypt(seed, cipherText);
// 	}
// }


import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowLog;
import com.navercorp.utilset.cipher.CipherMode;
import com.navercorp.utilset.cipher.CipherUtils;
package com.navercorp.utilset.cipher;




/**
 * @author jaemin.woo
 *
 */
@RunWith(RobolectricTestRunner.class)
@Config(manifest=Config.NONE)
public class CipherUtilsTest {
	private static String SEED = "SEED";
	private static String PLAIN_TEXT = "PLAIN_TEXT";

	@Before
	public void setUp() {
		ShadowLog.stream = System.out;
	}
	
	private String encrypt(String seed, String plainText) {
// Path: UtilSet/src/com/navercorp/utilset/cipher/CipherMode.java
// public enum CipherMode {
// 		AES,
// 	}
// 
// Path: UtilSet/src/com/navercorp/utilset/cipher/CipherUtils.java
// public class CipherUtils {
// 	CipherMode cipherMode;
// 	CipherObject cipherObject;
// 	
// 	public CipherUtils() {
// 		this(CipherMode.AES);
// 	}
// 	
// 	public CipherUtils(CipherMode cipherMode) {
// 		this.cipherMode = cipherMode;
// 		cipherObject = CipherObjectFactory.getInstance(this.cipherMode);
// 	}
// 
// 	/**
// 	 * 
// 	 * @param seed Seed string which is used for encryption and decryption  
// 	 * @param plainText String to be encrypted
// 	 * @return encrypted text
// 	 */
// 	public String encrypt(String seed, String plainText) {
// 		return cipherObject.encrypt(seed, plainText);
// 	}
// 
// 	/**
// 	 * 
// 	 * @param seed Seed string which is used for encryption and decryption
// 	 * @param cipherText String encrypted by encrypt method 
// 	 * @return plain text
// 	 */
// 	public String decrypt(String seed, String cipherText) {
// 		return cipherObject.decrypt(seed, cipherText);
// 	}
// }


// Path: UtilSet/test/com/navercorp/utilset/cipher/CipherUtilsTest.java
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowLog;
import com.navercorp.utilset.cipher.CipherMode;
import com.navercorp.utilset.cipher.CipherUtils;

package com.navercorp.utilset.cipher;




/**
 * @author jaemin.woo
 *
 */
@RunWith(RobolectricTestRunner.class)
@Config(manifest=Config.NONE)
public class CipherUtilsTest {
	private static String SEED = "SEED";
	private static String PLAIN_TEXT = "PLAIN_TEXT";

	@Before
	public void setUp() {
		ShadowLog.stream = System.out;
	}
	
	private String encrypt(String seed, String plainText) {
		CipherUtils cipherUtils = new CipherUtils(CipherMode.AES);