Encrypt a password from RSA key

Use the fglpass tool to encrypt a password from a RSA key.

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.

  1. To encrypt a password from a RSA key and encoded in BASE64, enter:

    fglpass -e -k RSAPub.pem
  2. You are prompted to enter the password you want to encrypt.

    Enter password :hello
    The fglpass tool outputs the BASE64 form of the encrypted password on the console.
    BASE64 BEGIN
    Pzk/fNRhetdJDZz5kjNg7P0XET4XsW6bys/fi0DvugxRPh9d/s41oAws65
    JY0EPb2zytQjxZ/dwaaRzJPYoQmA==
    BASE64 END
    Note: The BASE64 encrypted password is the string between the BASE64 BEGIN and BASE64 END.