attempt to encrypt api key