jodd-joy/src/main/java/jodd/joy/auth/simtok/SimTokCoder.java
public String encode(final SimTok simTok) {
		final String json = JsonSerializer.create().deep(true).serialize(simTok);

		final String p1 = Base64.encodeToString("JoddSimTok" + SALT_ROUNDS);
		final String p2 = Base64.encodeToString(json);

		final String salt = BCrypt.gensalt(SALT_ROUNDS);
		final String p3 = BCrypt.hashpw(p1 + "." + p2 + "." + SECRET, salt);

		return p1 + "." + p2 + "." + p3;
	}
public String encode(final SimTok simTok) {
		final String json = JsonSerializer.create().deep(true).serialize(simTok);

		final String p1 = Base64.encodeToString("JoddSimTok" + SALT_ROUNDS);
		final String p2 = Base64.encodeToString(json);

		final String salt = BCrypt.gensalt(SALT_ROUNDS);
		final String p3 = BCrypt.hashpw(p1 + "." + p2 + "." + SECRET, salt);

		return p1 + "." + p2 + "." + p3;
	}
public String encode ( final SimTok simTok ) { final String json = JsonSerializer . create ( ) . deep ( true ) . serialize ( simTok ) ; final String p1 = Base64 . encodeToString ( "JoddSimTok" + SALT_ROUNDS ) ; final String p2 = Base64 . encodeToString ( json ) ; final String salt = BCrypt . gensalt ( SALT_ROUNDS ) ; final String p3 = BCrypt . hashpw ( p1 + "." + p2 + "." + SECRET , salt ) ; return p1 + "." + p2 + "." + p3 ; }
Encodes the {@link SimTok} to JSON string.
Encodes the {