/**
 * <p>Project name is RoomieS<br>
 * Package name is life.theroomie.security<br>
 * File name is EncryptSth.java<br>
 *
 * @author YeonGyu Yang
 * @since 2016. 2. 6.
 */
package life.theroomie.security;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * 
 * @author YeonGyu Yang
 * @Since 2016. 2. 6.
 *
 */
public class EncryptSth {

	public String encrypt(String str) {

		BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();

		return passwordEncoder.encode(str);

	}
}

@@ -175,30 +175,31 @@
 package 
-life.th
+com.fav
 eroomie
+s
 .securit
@@ -357,19 +357,16 @@
  Encrypt
-Sth
  %7B%0A%0A%09pub
@@ -394,16 +394,19 @@
 ring str
+ing
 ) %7B%0A%0A%09%09B
@@ -509,16 +509,19 @@
 code(str
+ing
 );%0A%0A%09%7D%0A%7D

Encrypt Generator