How to find the password encryption type for Confirm

Product Feature: System Configuration
Confirm uses AES algorithm for password encryption.

The config file usually holds the encrypted password for all the tenants created in Confirm. The encryption usually happens in two cases:

1. When a new tenant is created, from database settings screen in Confirm, the db password is encrypted and saved in config file.
2. If in any case the DB password is updated, then we need to update it from the same database settings screen in order to connect to it. So when the new password is saved, it is encrypted and updated in config file accordingly.
UPDATED:  October 18, 2017