in reply to Need to encrypt the password in config.properties file.
Perhaps you are asking about something like How can a script use a password without making the password visible?
🦛