code: private void initialize() throws NoSuchAlgorithmException, InvalidKeySpecException,
  		UnsupportedEncodingException, NoSuchPaddingException, InvalidKeyException
  	{
  		if (!isInitialized())
  		{
  			cipher = Cipher
  				.getInstance(KeyPairWithModeAndPaddingAlgorithm.RSA_ECB_OAEPWithSHA1AndMGF1Padding
  					.getAlgorithm());
  			cipher.init(Cipher.ENCRYPT_MODE, this.publicKey);
  			initialized = true;
  		}
  	}
docs: Initializes this {@link PublicKeyHexEncryptor} object
  
  @throws UnsupportedEncodingException
  is thrown by get the byte array of the private key String object fails.
  @throws NoSuchAlgorithmException
  is thrown if instantiation of the cypher object fails.
  @throws NoSuchPaddingException
  is thrown if instantiation of the cypher object fails.
  @throws InvalidKeyException
  the invalid key exception is thrown if initialization of the cypher object fails.
  @throws InvalidKeySpecException
  is thrown if generation of the SecretKey object fails.