Encrypting or decrypting a password manually
If you set a password using a configuration file, you must encrypt or decrypt the password manually. By default the ncp_crypt command encrypts the password provided. However, if you specify the decrypt option, then the password is decrypted.
About this task
Complete these steps to encrypt or decrypt a password from the configuration file.
Note: All password encryption in Network Manager is
performed using FIPS 140–2 compliant algorithms.
Procedure
Example
ncp_crypt -password mypassword
To
decrypt a password you use the same utility that is used to encrypt the
password, but with an additional command line argument.
ncp_crypt -decrypt -password @44:xXd7WUIC8teZDhLs8RQ1VjArw8HmUtNCwWs/VrVIxqI=@