enc/dec finished