Encrypting Passwords

Encrypt password sensitive strings that are plain text to avoid security issues.
  1. In the menu, select Silk4J > Password Encoder. The Password Encoder dialog appears.
  2. Type the string to be encrypted into the Password field. The encrypted password is displayed in the Encoded string field.
  3. Click Copy and Close to copy the encrypted password to the clipboard and to close the Password Encoder dialog.
  4. Change the appropriate code lines in your test scripts.
Note: You can also encrypt a string in code by using the encrypt method. Encrypted strings can be decrypted using the decrypt method.