code: public static String bcrypt(String s) {
  		return (s == null) ? s : BCrypt.hashpw(s, BCrypt.gensalt(12));
  	}
docs: bcrypt hash function implemented by Spring Security.
  
  @param s the string to be hashed
  @return the hash