Fix CTR encrypt