Use the passencrypt utility to encrypt passwords and other values that must be kept secure while stored in text files.
You can safely store an encrypted password in a configuration file. Enter the password in clear text (unencrypted) when you execute passencrypt and when you use the password to log in.
passencrypt, which is located in the SAP Control Center bin directory, uses the SHA-256 hash algorithm for passwords used in the PreConfiguredLoginModule in csi_config.xml.