Concepts / Encryption, base64 and password agent with fglpass tool |
The fglpass tool can encrypt a password using an RSA key or certificate, and then encode it in BASE64 form. This allows you to easily add a protected password in the FGLPROFILE file for future use by any BDL application.
To encrypt a password from an RSA key and encoded in BASE64, enter:
fglpass -e -k RSAPub.pem
You are prompted to enter the password you want to encrypt.
Enter password :hello
BASE64 BEGIN Pzk/fNRhetdJDZz5kjNg7P0XET4XsW6bys/fi0DvugxRPh9d/s41oAws65 JY0EPb2zytQjxZ/dwaaRzJPYoQmA== BASE64 END