title: Encrypting a password for use with SetPasswordText()
body: <p>I am implementing UI tests with Silk4J. To log in I used the <code>SetText()</code> method until now. However, using a plain text password in my source code is not such a good idea.</p>
  
  <p>Now I found that there is also <a href="http://documentation.microfocus.com/help/topic/com.borland.silktest.silk4net.doc/langref/SAP/SetPasswordTextMethodSapTextField_ref.html#d0e1" rel="nofollow">SetPasswordText() [MicroFocus]</a>, which takes an encrypted password as parameter.</p>
  
  <p><strong>Unfortunately the documentation does not specify a way to convert my plaintext password into an encyrpted password. How can I do that?</strong></p>
  
  <p>I found <a href="http://community.microfocus.com/borland/test/silk_testpartner_-_automating_functional_tests/w/wiki/84.how-can-i-encryptdecrypt-a-string-in-a-testpartner-test-script.aspx" rel="nofollow">a website mentioning a tool</a>, but that tool does not exist on my machine. It also mentions an <code>Encrypt()</code> method, but for Java, I need at least a class name to access that method.</p>