fixed encrypt for large shifts.