redid encryption