encrypting the password stored in the config file