if php5-mcrypt not enabled, fall back to a less-secure encrypt/decrypt routine.