Obfuscating Text using Jetty

  1. Open a command terminal.

  2. Navigate to the <eftlink installation directory>\lib directory.

  3. Before executing the command below, replace <java> with the location to your JDK version and replace <username> with a meaningful value. Also, replace <password>. The parameter <password> is your desired password or string you wish to obfuscate.

  4. Execute the command.

    <java>\bin\java -cp jetty-util-12.0.14.jar org.eclipse.jetty.util.security.Password <Username> <Password>

    The output should look something like below. Note that we are only interested in the OBF value for the purposes of this document.

    OBF:1oq31uum1xtv1zej1zer1xtn1uvk1or7

    MD5:Dc647eB65e6711E155375218212b3964CRYPT:efE.3y6/wNpn6