changes from authenticated to encrypted