public static TextEncryptor queryableText(CharSequence password, CharSequence salt) {
		return new HexEncodingTextEncryptor(new AesBytesEncryptor(password.toString(),
				salt));
	}
public static TextEncryptor queryableText(CharSequence password, CharSequence salt) {
		return new HexEncodingTextEncryptor(new AesBytesEncryptor(password.toString(),
				salt));
	}
public static TextEncryptor queryableText ( CharSequence password , CharSequence salt ) { return new HexEncodingTextEncryptor ( new AesBytesEncryptor ( password . toString ( ) , salt ) ) ; }
Creates an encryptor for queryable text strings that uses standard password-based
encryption. Uses a 16-byte all-zero initialization vector so encrypting the same
data results in the same encryption result. This is done to allow encrypted data to
be queried against. Encrypted text is hex-encoded.

@param password the password used to generate the encryptor's secret key; should
not be shared
@param salt a hex-encoded, random, site-global salt value to use to generate the
secret key
Creates an encryptor for queryable text strings that uses standard password - based encryption . Uses a 16 - byte all - zero initialization vector so encrypting the same data results in the same encryption result . This is done to allow encrypted data to be queried against . Encrypted text is hex - encoded .