Encrypt the Password of a System User

To avoid storing system user passwords in plain text in the gemfirexd.properties file, use the gfxd encrypt-password command to generate encrypted placeholder text for the password.

For example:
gfxd encrypt-password
Enter User Name: locatoradmin
Enter Password: locatorpassword
Re-enter Password: locatorpassword
Encrypted to v23b60584174091d1d7b3bad3728a55500915424516037
Store the encrypted value in the gemfirexd.properties file in place of the clear text password for the specified user name: