title: how to encrypt password text input using script mode in Katalon ?
body: <p>I have a csv with a list of users and passwords that I need check the login.</p>
  
  <blockquote>
    <p>Is there any way to encrypt password text input using script mode in
    Katalon ?</p>
  </blockquote>
  
  <p>I found an answer on <a href="https://forum.katalon.com/discussion/comment/15069/" rel="nofollow noreferrer">katalon forums</a> but they do that manually using a a tool of the IDE like you can see here <a href="https://docs.katalon.com/display/KD/Working+with+Sensitive+Text" rel="nofollow noreferrer">Working with Sensitive Text</a></p>
  
  <p>I would like to create an script that for every <code>(user,password)</code> encrypt the password and login using encrypted password.</p>
  
  <pre><code>@Keyword
      def  login(user, password, url){
  
          WebUI.navigateToUrl(url)
  
          WebUI.setText(findTestObject('Object Repository/Page_Sign in  My Page/input_SigninFormemail'),user)
          def password_encript = Encrypt(password)// Fictitious method that I would like to get
  
          WebUI.setEncryptedText(findTestObject('Object Repository/Page_Sign in  My Page/input_SigninFormpassword'), password_encript)
  
          WebUI.click(findTestObject('Object Repository/Page_Sign in  My Page/input_yt0'))
  
      }
  </code></pre>
  
  <p>Is there a method like <code>Encrypt(password)</code> in Katalon? 
  Is there a way to do that in code?</p>
  
  <p>Thanks in advance.</p>