code: private static StandardPBEStringEncryptor getEncryptor(final String symmetricKey) {
  		Security.addProvider(new BouncyCastleProvider());
  		final StandardPBEStringEncryptor mySecondEncryptor = new StandardPBEStringEncryptor();
  		mySecondEncryptor.setProviderName(BC_PROVIDER_NAME);
  		mySecondEncryptor.setAlgorithm(PBEWITHSHA256AND128BITAES_CBC_BC);
  		mySecondEncryptor.setPassword(symmetricKey);
  		return mySecondEncryptor;
  	}
docs: Gets the encryptor.
  
  @param symmetricKey
  the symmetric key
  @return the encryptor