Replace encryption method for the PrestaShop's native to pass module validation.
Better error logging.